Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
2.1.0_preview.10
Issue ID
1166932
Regression
No
[2D] [Sprite Shape] Importing Sprite Shape Extras will throw "Reload Assembly called from managed code directly" error
[2D] [Sprite Shape] Importing Sprite Shape Extras will throw "Reload Assembly called from managed code directly" error
If the user elects to install the Sprite Shape Extras sample from package manager, an exception will be thrown about calling Reload Assembly from managed code.
Steps to reproduce:
- Open the attached project OR create a new 2D project and install the Sprite Shapes package via the package manager
- In the Package Manager, locate the Sprite Shapes package and in the description, under Samples, and select "Import in project" on the "Sprite Shape Extras
- Observe the following exception printed to console:
Reload Assembly called from managed code directly. This will cause a crash. You should never refresh assets in synchronous mode or enter playmode synchronously from script code.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
Can no longer reproduce in 2019.3.0a12, closing.