Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.1
2019.3
2020.1
2020.1.0a14
Issue ID
1203843
Regression
No
ScriptedImporter's GatherDependenciesFromSourceFile() is not executed when defined in Base class and called from Derived class
How to reproduce:
1. Open the project "case_1203843_GatherDependenciesFromSourceFileNotCalled"
2. Right-click on the asset "foo" in the Assets folder in the Project window
3. Select Reimport in the Context menu
4. Observe the results in Console window
Expected results: the method GatherDependenciesFromSourceFile(string assetPath) is executed when it is called from Derived class
Actual results: the method GatherDependenciesFromSourceFile(string assetPath) is not executed when it is called from Derived class
Reproducible with: 2019.1.14f1 2019.3.0f5, 2020.1.0a18
Could not test with: 2017.4.35f1, 2018.4.14f1, 2019.2.19f1 due to errors
Note: GatherDependenciesFromSourceFile() is executed when it is defined in the Base class and it is called from there (there is the asset "Bar" in the attached project to show it)
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2020.1):
Fixed in 2021.2.0a1