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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
We're moving our tracking of new features in IL2CPP to an internal system, so this will take place at this time.