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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
We're moving our tracking of new features in IL2CPP to an internal system, so this will take place at this time.