Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Unity crash on scene load with obi rope
#1
I seem to get an intermittent crash when loading a scene with an obi rope in it.

Editor log: https://www.dropbox.com/s/eik4hq4lpkrfmc...h.log?dl=0
Reply
#2
(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/eik4hq4lpkrfmc...h.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-shad..._0.355433/

Does this happen in more than one computer?
Reply
#3
(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-shad..._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/g91r6qfs0s4j0...D66ia?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/tuqptjvuekualx...g.txt?dl=0

Update: Another crash this morning https://www.dropbox.com/sh/cq3at3wnh637u...QBtEa?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/c8vfntk37yv9xu...5.log?dl=0
Reply
#4
(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/g91r6qfs0s4j0...D66ia?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/tuqptjvuekualx...g.txt?dl=0

Update: Another crash this morning https://www.dropbox.com/sh/cq3at3wnh637u...QBtEa?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/c8vfntk37yv9xu...5.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.
Reply
#5
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...)
Reply