Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi cloth crash
#1
Hi there. I have obi cloth on characters and test scene, where i press key and enemy spawns at point. And when it spawns in other enemy (just same point) Unity crashes. If enemy spawn not in other enemy, so crash will be little bit later. What it is?

Preview:
Code:
Unity Editor [version: Unity 2017.3.0f2_d3a5469e8c44]

Unity.exe caused an Access Violation (0xc0000005)
 in module Unity.exe at 0033:00000000.

Error occurred at 2018-01-09_150618.
D:\Soft\Unity 2017.3.0f2\Editor\Unity.exe, run by Chaiker.
37% memory in use.
16275 MB physical memory [10196 MB free].
28275 MB paging file [19542 MB free].
134217728 MB user address space [134213514 MB free].
Write to location 00000000 caused an access violation.

Context:
RDI:    0x00000000  RSI: 0x9f7eade0  RAX:   0x40000000
RBX:    0x00000028  RCX: 0x543a46f0  RDX:   0x543b4cb0
RIP:    0x00000000  RBP: 0x9f6e3860  SegCs: 0x00000033
EFlags: 0x00010246  RSP: 0x2065fa68  SegSs: 0x0000002b
R8:    0x9f6e36a0  R9: 0x2065fb00  R10:   0x2065fac0
R11:    0x2065fc38  R12: 0x9f6e36a0  R13:   0x9f6e5ae8
R14:    0x9f7eae20  R15: 0x543a46f0

Bytes at CS:EIP:
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??

Stack:
0x2065fa68: 428fa77e 00000001 00000030 00000000 ~..B....0.......
0x2065fa78: 00000013 00000000 3e4ccccd 00000000 ..........L>....
0x2065fa88: 00000000 00000000 2065fc58 00000000 ........X.e ....
0x2065fa98: 9f7eae20 00000000 9f6e3860 00000000  .~.....`8n.....
0x2065faa8: 00000000 00000000 543b4cb0 00000000 .........L;T....
0x2065fab8: 408046c0 00000001 3f3673f5 be821590 .F.@.....s6?....
0x2065fac8: be96adec bf15778c c0185fb7 3f6d489e .....w..._...Hm?
0x2065fad8: c06a2784 00000000 3f350393 bbb3ed00 .'j.......5?....
0x2065fae8: bbb3ee00 bf35038b c018fa59 3f9328b8 ......5.Y....(.?
0x2065faf8: c06bd4af 00000000 44a2d930 00000001 ..k.....0..D....
0x2065fb08: 00000016 00000000 184f5d14 00000000 .........]O.....
0x2065fb18: 184f58f0 00000000 00000000 00000000 .XO.............
0x2065fb28: 0000022f ffffffff 00000000 00000000 /...............
0x2065fb38: 00000000 00000002 00000001 40665080 .............Pf@
0x2065fb48: 00000000 00000000 05c464a0 00000000 .........d......
0x2065fb58: 00000000 00000000 00000000 00000000 ................
0x2065fb68: 00000000 00000000 00000000 00000000 ................
0x2065fb78: 00000000 00000000 fffffffe ffffffff ................
0x2065fb88: 4038cbc3 00000001 3f800000 00000000 ..8@.......?....
0x2065fb98: 408045c9 00000001 00000000 3f800000 .E.@...........?
0x2065fba8: 00000000 00000000 00000000 00000000 ................
0x2065fbb8: 4038cbc3 00000001 00000000 00000000 ..8@............
0x2065fbc8: 00000000 3f800000 fffffffe ffffffff .......?........
0x2065fbd8: 00000000 00000000 005e9908 00000000 ..........^.....

Crash dmp you can download by link: https://1drv.ms/f/s!AlCyB5jMt8_SnnmIdXjx2yO8_hVb
Reply
#2
(09-01-2018, 09:18 AM)Chaiker Wrote: Hi there. I have obi cloth on characters and test scene, where i press key and enemy spawns at point. And when it spawns in other enemy (just same point) Unity crashes. If enemy spawn not in other enemy, so crash will be little bit later. What it is?

Preview:
Code:
Unity Editor [version: Unity 2017.3.0f2_d3a5469e8c44]

Unity.exe caused an Access Violation (0xc0000005)
 in module Unity.exe at 0033:00000000.

Error occurred at 2018-01-09_150618.
D:\Soft\Unity 2017.3.0f2\Editor\Unity.exe, run by Chaiker.
37% memory in use.
16275 MB physical memory [10196 MB free].
28275 MB paging file [19542 MB free].
134217728 MB user address space [134213514 MB free].
Write to location 00000000 caused an access violation.

Context:
RDI:    0x00000000  RSI: 0x9f7eade0  RAX:   0x40000000
RBX:    0x00000028  RCX: 0x543a46f0  RDX:   0x543b4cb0
RIP:    0x00000000  RBP: 0x9f6e3860  SegCs: 0x00000033
EFlags: 0x00010246  RSP: 0x2065fa68  SegSs: 0x0000002b
R8:    0x9f6e36a0  R9: 0x2065fb00  R10:   0x2065fac0
R11:    0x2065fc38  R12: 0x9f6e36a0  R13:   0x9f6e5ae8
R14:    0x9f7eae20  R15: 0x543a46f0

Bytes at CS:EIP:
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??

Stack:
0x2065fa68: 428fa77e 00000001 00000030 00000000 ~..B....0.......
0x2065fa78: 00000013 00000000 3e4ccccd 00000000 ..........L>....
0x2065fa88: 00000000 00000000 2065fc58 00000000 ........X.e ....
0x2065fa98: 9f7eae20 00000000 9f6e3860 00000000  .~.....`8n.....
0x2065faa8: 00000000 00000000 543b4cb0 00000000 .........L;T....
0x2065fab8: 408046c0 00000001 3f3673f5 be821590 .F.@.....s6?....
0x2065fac8: be96adec bf15778c c0185fb7 3f6d489e .....w..._...Hm?
0x2065fad8: c06a2784 00000000 3f350393 bbb3ed00 .'j.......5?....
0x2065fae8: bbb3ee00 bf35038b c018fa59 3f9328b8 ......5.Y....(.?
0x2065faf8: c06bd4af 00000000 44a2d930 00000001 ..k.....0..D....
0x2065fb08: 00000016 00000000 184f5d14 00000000 .........]O.....
0x2065fb18: 184f58f0 00000000 00000000 00000000 .XO.............
0x2065fb28: 0000022f ffffffff 00000000 00000000 /...............
0x2065fb38: 00000000 00000002 00000001 40665080 .............Pf@
0x2065fb48: 00000000 00000000 05c464a0 00000000 .........d......
0x2065fb58: 00000000 00000000 00000000 00000000 ................
0x2065fb68: 00000000 00000000 00000000 00000000 ................
0x2065fb78: 00000000 00000000 fffffffe ffffffff ................
0x2065fb88: 4038cbc3 00000001 3f800000 00000000 ..8@.......?....
0x2065fb98: 408045c9 00000001 00000000 3f800000 .E.@...........?
0x2065fba8: 00000000 00000000 00000000 00000000 ................
0x2065fbb8: 4038cbc3 00000001 00000000 00000000 ..8@............
0x2065fbc8: 00000000 3f800000 fffffffe ffffffff .......?........
0x2065fbd8: 00000000 00000000 005e9908 00000000 ..........^.....

Crash dmp you can download by link: https://1drv.ms/f/s!AlCyB5jMt8_SnnmIdXjx2yO8_hVb

Hi!

According to the dump file, the crash happened inside Unity itself. Upon loading the .dmp in Visual Studio with libOni.dll loaded (the physics engine behind Obi), VS complained that the module that caused the crash could not be found, and pointed to Unity.exe as the culprit.

Also, when a crash is caused by Obi the crash log will look like this:

Code:
libOni.dll caused an Access Violation (0xc0000005)
  in module libOni.dll at 0033:92967010.

instead of:

Code:
Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at XXXXX..

Can you confirm whether or not this crash happens with all Obi components disabled in your scene?

cheers!
Reply
#3
(15-01-2018, 09:31 AM)josemendez Wrote: Hi!

According to the dump file, the crash happened inside Unity itself. Upon loading the .dmp in Visual Studio with libOni.dll loaded (the physics engine behind Obi), VS complained that the module that caused the crash could not be found, and pointed to Unity.exe as the culprit.

Also, when a crash is caused by Obi the crash log will look like this:

Code:
libOni.dll caused an Access Violation (0xc0000005)
 in module libOni.dll at 0033:92967010.

instead of:

Code:
Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at XXXXX..

Can you confirm whether or not this crash happens with all Obi components disabled in your scene?

cheers!
May be i need update unity. But when i disable obi components it's work properly.
I see that crash happens when skinned mesh renderer used with cloth, when is use mesh renderer there is no crash.
Reply
#4
(15-01-2018, 12:53 PM)Chaiker Wrote: May be i need update unity. But when i disable obi components it's work properly.
I see that crash happens when skinned mesh renderer used with cloth, when is use mesh renderer there is no crash.

Can you create a minimal repro project? Make a scene (as simple as possible) that crashes, and send it to our support email. That way it would be much easier for us to determine the cause of the crash.

cheers,
Reply