Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.0f1
Issue ID
1057943
Regression
No
Performance: ScriptedImporters are very slow
I have two means of importing a Quake BSP asset:
1) Loading it via a button press in the Inspector (EditorBspTest.OnInspectorGUI)
2) Loading it through a ScriptedImporter (QBspImporter)
Both code paths are essentially identical. In fact, loading it through the Inspector actually creates a new ScriptedImporter object and calls the same Load() routine.
Comparing both approaches, the latter is significantly slower.
To reproduce:
1) Load the project
2) Click on "worldspawn" in the hierarchy
3) Click Load in the Inspector. Note how little time it takes.
4) Click Unload in the Inspector to remove everything.
5) Go to the Project view > Assets > Id1 > maps
6) Right click on e1m2.bsp (the same map)
7) Hit Reimport.
Actual: Load time is significantly increased.
Expected: Load time should be identical.
Reproduced: 2018.2.1f1, 2018.3.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
Add comment