Obi Official Forum
Bug / Crash Unity crash on scene load with obi rope - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Bug / Crash Unity crash on scene load with obi rope (/thread-2365.html)



Unity crash on scene load with obi rope - mr-matt - 14-07-2020

I seem to get an intermittent crash when loading a scene with an obi rope in it.

Editor log: https://www.dropbox.com/s/eik4hq4lpkrfmcy/Editor-prev%20crash.log?dl=0


RE: Unity crash on scene load with obi rope - josemendez - 14-07-2020

(14-07-2020, 03:58 AM)mr-matt Wrote: I seem to get an intermittent crash when loading a scene with an obi rope in it.

Editor log: https://www.dropbox.com/s/eik4hq4lpkrfmcy/Editor-prev%20crash.log?dl=0

Hi,

The stack indicates a crash here:

Code:
0x00007FF6350D0586 (Unity) GfxDevice::UpdateBufferRanges

And the log contains a lot of these:

Code:
d3d11: failed to create buffer (target 0x1 mode 1 size 240) [0x887A0005]
d3d11: failed to create buffer (target 0x2 mode 1 size 12) [0x887A0005]
d3d11: attempt to lock null buffer
d3d11: attempt to lock null buffer

d3d11: Failed to create 2D texture in GfxDeviceD3D11
(Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 689)
d3d11: failed to create 2D texture id=2155 width=3 height=3 mips=2 dxgifmt=29 [D3D error was 887a0005]

Does not seem to be Obi-related. This old post could be relevant though:
https://forum.unity.com/threads/d3d-shader-create-error-for-shader-0x80070057-vs_5_0.355433/

Does this happen in more than one computer?


RE: Unity crash on scene load with obi rope - mr-matt - 14-07-2020

(14-07-2020, 08:12 AM)josemendez Wrote: Does not seem to be Obi-related. This old post could be relevant though:
https://forum.unity.com/threads/d3d-shader-create-error-for-shader-0x80070057-vs_5_0.355433/

Does this happen in more than one computer?

Crashed again this morning. I found the full crash log this time: https://www.dropbox.com/sh/g91r6qfs0s4j0cy/AAD3OqvtdzF0125SW1MND66ia?dl=0

It seems to be to do with Nvidia but it only occurs in the scene with an Obi Rope in it. The crash occurs as I'm loading the scene in (at runtime), but only on some occasions.

Some other details:
- Unity 2019.3.0f6
- .NET Standard 2.0
- My specs: https://www.dropbox.com/s/tuqptjvuekualxw/DxDiag.txt?dl=0

Update: Another crash this morning https://www.dropbox.com/sh/cq3at3wnh637uvz/AAAhqTtOcYXCxANPCvgNQBtEa?dl=0

Some digging around revealed that other people with the same "Unity.exe caused an access violation" type crashes had issues with third party plugins/native dlls. I'm fairly confident that the issue is to do with Obi as this crash never occurs when Obi is not in the scene.

Update 2: I'm also getting strange freezes where the editor becomes frozen while loading the scene, but the audio continues playing.

No crash log was produced but here is the editor log at the point of the freeze with full stack traces: https://www.dropbox.com/s/c8vfntk37yv9xue/Editor-15-7-12-55.log?dl=0


RE: Unity crash on scene load with obi rope - josemendez - 15-07-2020

(14-07-2020, 11:26 PM)mr-matt Wrote: Crashed again this morning. I found the full crash log this time: https://www.dropbox.com/sh/g91r6qfs0s4j0cy/AAD3OqvtdzF0125SW1MND66ia?dl=0

It seems to be to do with Nvidia but it only occurs in the scene with an Obi Rope in it. The crash occurs as I'm loading the scene in (at runtime), but only on some occasions.

Some other details:
- Unity 2019.3.0f6
- .NET Standard 2.0
- My specs: https://www.dropbox.com/s/tuqptjvuekualxw/DxDiag.txt?dl=0

Update: Another crash this morning https://www.dropbox.com/sh/cq3at3wnh637uvz/AAAhqTtOcYXCxANPCvgNQBtEa?dl=0

Some digging around revealed that other people with the same "Unity.exe caused an access violation" type crashes had issues with third party plugins/native dlls. I'm fairly confident that the issue is to do with Obi as this crash never occurs when Obi is not in the scene.

Update 2: I'm also getting strange freezes where the editor becomes frozen while loading the scene, but the audio continues playing.

No crash log was produced but here is the editor log at the point of the freeze with full stack traces: https://www.dropbox.com/s/c8vfntk37yv9xue/Editor-15-7-12-55.log?dl=0

Could be that Obi is doing something that the gfx driver is not liking, but chances are it's something fairly standard. We are not doing anything out of the ordinary as far as graphics go. Access violations can be caused by any code that is currently running, be it a third party plugin, Unity, drivers...

Does this happen in a particular scene? If so, can you describe the contents/setup of it? It would also be useful to get our hands on a scene/project that reproduces this.


RE: Unity crash on scene load with obi rope - Tset_Tsyung - 20-07-2020

Are both your GFX Drivers and the Obi plugin up to date?

If there's a mismatch between drivers could that be the cause of the issues?

(Apologies if this is a dumb suggestion.  My first post was yesterday, not got Obi rope yet...)