Jump to content

Adding new code in script is failing


yijing

Recommended Posts

Hello,

I want to output hand joints position,rotation and the hand gesture informations as a CSV, TXT, or JSON file for my research purposes. So, I looked at the script in Unity's console to find the corresponding code. However, when I use VS Code to add another codes and save it, the modified content reverts to its original state. Why does this happen? Are there any other methods to output log information? Thanks.

S__15220768.thumb.jpg.914478718eb61c058d15dbdece0e4d74.jpg

Link to comment
Share on other sites

Hi @VIVE_chengnay,

Thank you for your response. However, I'm not quite sure how to actually implement the advice you provided. Should I execute "copy com.htc.upm.wave.essence folder" you mentioned within Unity? 

By the way, I use the demo project "NaturalHand" below the path Wave>>Essence>>Hand>>Model>>5.3.2-r.4>>Demo that offer by Wave XR Plugin.

demo_path.thumb.png.515c611e57c63de39688bc38dac13a57.png

Link to comment
Share on other sites

Hi @yijing,

1. Go to <project folder>\Library\PackageCache and you will see a folder name "com.htc.upm.wave.essence@5.3.2-r.4"

2. Right click your mouse and copy

3. Go to <project folder>\Packages and paste, wait until it finished

4. Go to your Unity Editor and it will reload.

5. Now you can edit HandManager.cs and it will save

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...