Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2017.3

2018.1.0f2

Issue ID

1038178

Regression

Yes

[Metal] Freeze or crash when loading assetbundle in ProduceClone() [inlined] GetType at BaseObject.h:248

Graphics - General

-

Reproduction steps:
1. Open the attached project.
2. Play the 'SampleScene' or build it for iOS device.

Actual behavior:
- Editor will freeze.
- iOS application will crash

...
frame #0: 0x000000010274d1b8 metaltest`::ProduceClone() [inlined] GetType at BaseObject.h:248 [opt]
frame #1: 0x000000010274d1b8 metaltest`::ProduceClone() at CloneObject.cpp:35 [opt]
frame #2: 0x000000010274c534 metaltest`::CollectAndProduceGameObjectHierarchy() [inlined] CollectAndProduceGameObject at CloneObject.cpp:69 [opt]
frame #3: 0x000000010274c520 metaltest`::CollectAndProduceGameObjectHierarchy() at CloneObject.cpp:121 [opt]
frame #4: 0x000000010274c18c metaltest`::CollectAndProduceClonedIsland() at CloneObject.cpp:209 [opt]
frame #5: 0x000000010274c8c0 metaltest`::CloneObjectImpl() at CloneObject.cpp:282 [opt]
...

Reproduced with:
Metal
iOS, Editor
2018.3.0a1, 2018.2.0b4, 2018.1.1f1, 2017.4.3f1

Not reproducible with:
2017.2.2p4
or
OpenGL

Note:
Full callstack attached in the edit.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.