Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
401K's avatar
401K
Honored Guest
12 years ago

Mac Unity Editor freeze at Play with DK2

Having a working project with DK1, I managed to upgrade it to DK2 with 0.4.1 by removing old OVR files and importing new ones.
Now the DemoCube included is working well but my own scene is freezing once I click Play and sometimes crash. I haven't any log message in Unity.

System Log drop me this lines after closing editor :

8/29/14 11:48:22.504 AM spindump[5297]: Unity [5290] didn't gather any samples due to audio running
8/29/14 11:48:22.510 AM coreaudiod[162]: Enabled automatic stack shots because audio IO is inactive
8/29/14 11:48:22.659 AM com.apple.launchd.peruser.501[140]: ([0x0-0x6b06b].com.unity3d.UnityEditor4.x[5290]) Exited: Terminated: 15


Same behaviour appear with a build. Tested with 4.3.4 and 4.5.2 editors.
I already try to restart from a fresh project, change script execution order and disable Profiler as I found in http://forum.unity3d.com/threads/unity-editor-play-preview-freezes-mavericks-unity-4-3-4.227348/

The weird thing is that the project is fully working on windows.
I just use VTP plugin for Mac in the project to play videos and OVRCameraController prefab is instaciated from script at Start().

camOculus = (GameObject)GameObject.Instantiate(this.GetComponent<SceneController>().cameraOculusPrefab);

//Configure oculus vrGUI
GUIOculus vrGUI = camOculus.AddComponent<GUIOculus> ();
vrGUI.useCurvedSurface = false;


I attach a Unity mini dump describing more after crash.
Seems some kind of conflict in the project but it only occur when I try to instantiate OVRCameraController...

1 Reply

Replies have been turned off for this discussion
  • 401K's avatar
    401K
    Honored Guest
    This issue is still present with 0.4.3 and seems to be caused by a DLL conflict with the VTP plugin for Unity (2.18 at this time). Possibly an issue with RenderTextures used in both plugins :?:

    A thread related to this can be found here.