playMaker

Author Topic: Wierd Crash when Switching scenes  (Read 1300 times)

SeriousRPG

  • Playmaker Newbie
  • *
  • Posts: 45
Wierd Crash when Switching scenes
« on: October 30, 2015, 05:08:41 PM »
Hi,
I have come across a wierd error that seems to be in Playmaker PUN's Proxy.  Each scene has a prefab "Launcher" object that contains playmaker actions. If you run from editor from a scene other than the first (which contains the PUN connections) it switches scenes to first scene using Load Level. Scene 2 works fine but scenes 3 & 4 crash the editor in play.

I have seen a similar error reported by other plug-ins regarding nested prefabs. Here is the unity editor error log section. Is there something that needs to be fixed in playmaker? (Most current versions of Unity 5 and Playmaker/PUN)

PlayMakerFSM:OnLevelWasLoaded()
 
(Filename: Assets/PlayMaker PUN/Scripts/PlayMakerPhotonProxy.cs Line: 921)

System memory in use before: 332.7 MB.
System memory in use after: 294.4 MB.

Unloading 1772 unused Assets to reduce memory usage. Loaded Objects now: 7544.
Total: 10.247051 ms (FindLiveObjects: 0.527035 ms CreateObjectMapping: 0.276025 ms MarkObjects: 7.049876 ms  DeleteObjects: 2.392694 ms)

PhotonNetwork.connectionState changed from 'Disconnected' to 'Connecting'
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
PlayMakerPhotonProxy:Update_connectionStateWatcher() (at Assets\PlayMaker PUN\Scripts\PlayMakerPhotonProxy.cs:566)
PlayMakerPhotonProxy:Update() (at Assets\PlayMaker PUN\Scripts\PlayMakerPhotonProxy.cs:553)
 
(Filename: Assets/PlayMaker PUN/Scripts/PlayMakerPhotonProxy.cs Line: 566)

m_VB != NULL
 
(Filename: C:/buildslave/unity/build/Runtime/GfxDevice/d3d11/VertexBufferD3D11.cpp Line: 98)

Crash!!!

Thanks,
Sandi