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
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
- Context menus open on a different monitor when there are three monitors used
Resolution Note (2021.2.X):
This will be fixed as part of a larger effort to improve Unity's handling of errors from Mono.