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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note (2021.2.X):
This will be fixed as part of a larger effort to improve Unity's handling of errors from Mono.