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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Add comment