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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note:
We're moving our tracking of new features in IL2CPP to an internal system, so this will take place at this time.