Forum Discussion
chesstar
9 years agoExplorer
Platform SDK for unity cause many GC
I used the platform sdk for unity.I found this sdk callback will cause a large of GC amount.I tested this,when I comment out my specific callback functionality,the large GC still existed.Actually,this...
romrador
9 years agoHonored Guest
So I dug into this a little bit, and I found that one of our print statements that runs whenever a messages comes back from the server was generating substantial amounts of garbage.
I've removed it, so this particular issue should be much improved in the next version of the Unity integration.
In the mean time, you can patch it yourself. Just remove the two `Debug.Log` statements in Unity/Assets/OculusPlatform/Scripts/Message.cs
I've removed it, so this particular issue should be much improved in the next version of the Unity integration.
In the mean time, you can patch it yourself. Just remove the two `Debug.Log` statements in Unity/Assets/OculusPlatform/Scripts/Message.cs
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device