googlevr / gvr-unity-sdk

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

Crash when I running the DemoScene #741

Closed Juanfry88 closed 7 years ago

Juanfry88 commented 7 years ago

Hi everyone! I have imported gvr unitypackage and I build for iOS, when I run in xCode the app start but nothing appear, only a black screen... I have xCode 9.0 (9A235) and Unity 2017.1.0f3

_eVR(1641,0x1b5343b80) malloc: error for object 0x1082c1648: incorrect checksum for freed object - object was probably modified after being freed. set a breakpoint in malloc_errorbreak to debug (lldb)

nathanmartz commented 7 years ago

Is this in a brand new project with just the GVR SDK or are there other plugins and such installed? If the latter, can you try the former?

On Oct 4, 2017 4:10 AM, "Juanfry88" notifications@github.com wrote:

Hi everyone! I have imported gvr unitypackage and I build for iOS, when I run in xCode the app start but nothing appear, only a black screen... I have xCode 9.0 (9A235) and Unity 2017.1.0f3

eVR(1641,0x1b5343b80) malloc: error for object 0x1082c1648: incorrect checksum for freed object - object was probably modified after being freed. set a breakpoint in malloc_error_break to debug (lldb)

— 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/741, or mute the thread https://github.com/notifications/unsubscribe-auth/ANamfkQ8iv01zuJGRw-AploZMMyct9EYks5so2elgaJpZM4Ptcjd .

Juanfry88 commented 7 years ago

There isn't other plugin... only gvr, and I run the demo scene, without touch anything

fredsa commented 7 years ago

@Juanfry88 To help isolate the source of the problem, can you try creating a new Unity project with just an empty scene? Set the build platform to iOS, but leave Player Settings > iOS > Other Settings > Virtual Reality Supported disabled. Build and run the app.

If that works, enable VR support and build and run the app again:

If the app still runs normally, import the Google VR .unitypackage into the working project, open the GVRDemo scene, and once again build and run the app.

Let us know what you find.

fredsa commented 7 years ago

@Juanfry88 Please file a new issue if you have any problems setting up a new project using our updated Get started with Google VR in Unity on iOS guide.