Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
5
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1313988
Regression
No
Calling Marshal.PrelinkAll() on a class that contains a DllImport attribute of a non-existent dll will log errors
Calling Marshal.PrelinkAll() on a class that contains a DllImport attribute of a non-existent dll will always log lines that look like errors even if the call is from a try/catch block
How to reproduce:
1. Open the attached project (case_1313988-EditorLogs)
2. Open SampleScene
3. Click Play
4. Open the Editor Log
Expected result: If the call is in a try/catch block 'Fallback handler could not load library' should not be printed
Actual result: 'Fallback handler could not load library' is always printed to the Editor log
Reproducible with: 2018.4.30f1, 2019.4.20f1, 2020.2.5f1, 2021.1.0b8, 2021.2.0a6
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
- Profiler crash on DynamicHeapAllocator::GetBlockPointer
- Indic languages are displayed incorrectly when using TextMeshPro or Legacy Text
- Importing HDRP Material and Transparent Samples causes Shader Graph warning in the Console
- Object Field Picker window shows incorrect number of hidden GameObjects and has same number for all fields
- GameObject shows visual corruption due to incorrect previous transform matrix while using Active SpaceWarp
Resolution Note (2021.2.X):
This will be fixed as part of a larger effort to improve Unity's handling of errors from Mono.