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
0
Found in
2018.1.0f2
Issue ID
1034296
Regression
No
[IL2CPP] [.NET 4.6] NullReferenceException is not caught in an exception filter
To reproduce:
1. Open 'SmallProject'
2. Build and run Standalone with Mono scripting backend selected
3. Notice that no errors are thrown
4. Build and run for iOS or a Standalone with IL2CPP scripting backend selected
5. Notice that NullReferenceException is not caught in an exception filter and is thrown to console:
'NullReferenceException: Object reference not set to an instance of an object.
at TestScript.ExceptionFilter (System.Object x) [0x00000] in
<00000000000000000000000000000000>:0'
Reproduced: 2017.1.3p4, 2017.2.3f1, 2017.3.2f1, 2017.4.6f1, 2018.1.6f1, 2018.2.0b9, 2018.3.0a3
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
We're moving our tracking of new features in IL2CPP to an internal system, so this will take place at this time.