Search Issue Tracker
Fixed in 5.3.7
Votes
0
Found in
5.4.0f3
Issue ID
820071
Regression
No
[IL2CPP] Generic class with struct inside dynamic-link library returns type (this.GetType()) "System.Object" instead of class
Reproduction steps:
1) Open project
2) Open and run "scene" scene
-- Press "Space" button and notice in console that data1, data2 and data3 are not null
3) Make sure that IL2CPP is selected
4) Build and run project on Android device
5) Touch screen and check adb logcat output
Expected result:
data1 (also data2 and data3) should not be null, as in Editor or when building with Mono2x.
Actual result:
data1 (also data2 and data3) are set to null because "GetType()" inside of struct returned System.Object instead of that class' type. (compare adb logcat output with editor's console output)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment