Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.0a6
Issue ID
1019989
Regression
No
ScriptedImporter generates an error when trying to create a new scene
1. Open the provided project
2. Browse for the level.dat file in Assets-->SamOatesGames --> UnityMineCraft --> Examples --> Flat World
3. Right click on level.dat and reimport the asset
Result
An error message appears in the console:
"UnloadUnusedAssets incorrect caused some assets to load. This can easily cause deadlocks or crashes."
Note:
The scriptedImporter is creating a new scene upon import and this is probably what causes the error to appear.
Note on why this is being resolved as "won't fix": scenes are application state constructs that at the moment and are not treated as actual assets: there is no Scene Asset type and in the context of an importer, scene don't make sense since they cannot be the output of a scripted import event and when creating a scene it actually alters the global state of the application which violates what importers are allowed to do.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment