yijing Posted September 28, 2023 Share Posted September 28, 2023 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. Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted September 28, 2023 Share Posted September 28, 2023 Hi @yijing, Did you modify HandManager.cs? Link to comment Share on other sites More sharing options...
yijing Posted September 28, 2023 Author Share Posted September 28, 2023 Hi @VIVE_chengnay, yes, i tried to modify HandManager.cs Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted September 28, 2023 Share Posted September 28, 2023 Hi @yijing, The reason why your changes is reverted because package is loaded in Library\PackageCache folder. One easy method to resolve this problem, you can copy com.htc.upm.wave.essence folder to Packages folder. Link to comment Share on other sites More sharing options...
yijing Posted October 1, 2023 Author Share Posted October 1, 2023 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. Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted October 2, 2023 Share Posted October 2, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now