googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.09k forks source link

DemoScene in Unity 5.4.0f3 Memory growth until crash #301

Closed lishu closed 8 years ago

lishu commented 8 years ago

For iOS Build

ashleydb commented 8 years ago

Bug in unity due to rendering you a texture which GVR relies on. Unity are aware but no ETA. Version 5.3.3 doesn't have this problem.

On Wednesday, 24 August 2016, Jock Li notifications@github.com wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/googlevr/gvr-unity-sdk/issues/301, or mute the thread https://github.com/notifications/unsubscribe-auth/ALafyYbi8l7fxAp8zr8v_CeaZW5Adp8Gks5qjEJ4gaJpZM4Jr_Cs .

Ashley Bennett www.HiAsh.com

lishu commented 8 years ago

Thanks. Yes, I known that, But before 5.3.6 will has other problem. Now i can only hope just a few changes can avoid this one.

FlyerCode commented 8 years ago

I also met the same problem. Unity5.3.3 can solve this problem but could not be addressed from the perspective of the SDK?

wissejel commented 8 years ago

Does anyone have the specific issue in the Unity Issue tracker that we can follow, or some kind of workaround? To me this is a major issue.

mswf commented 8 years ago

@handyface Here is the Unity bug thread: https://issuetracker.unity3d.com/issues/googlevr-canvas-are-allocating-memory-and-do-not-release-it-when-using-vr-cameras
There is another issue thread for this exact same problem, you'll find more information there: https://github.com/googlevr/gvr-unity-sdk/issues/283#issuecomment-243413766 I also just posted about a slightly better workaround. It leaves you with an excess screen fill, but it should not have any more trickle down issues.

wissejel commented 8 years ago

@mswf Thank you. I will look into it.