Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2018.4.20f1
2020.2
Issue ID
1234885
Regression
No
SIZEOF_VOID_P is not defined in IL2CPP's Field.cpp
How to reproduce:
1. Open the attached (ModContentBundles.zip) project
2. Build to Standalone -> Paste the code lines from notes into the builds "Field.cpp" Script
3. Open the build Solution file in Visual Studio -> Deploy the solution
4. In Output Window search (ctrl + f) for "no void pointer size"
Expected result: SIZEOF_VOID_P is defined in IL2CPP's Field.cpp
Actual result: SIZEOF_VOID_P is not defined in IL2CPP's Field.cpp
Reproducible with: 2018.4.23f1, 2019.3.16f1, 2019.4.1f1, 2020.1.0b13, 2020.2.0a15
Notes:
- Paste these lines before deploying the build between the libraries list and namespace:
#ifndef SIZEOF_VOID_P
#error no void pointer size
#endif
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
- Environment Lighting does not change when changing its properties in Play mode
- Black artifacts appear when playing a certain transcoded video using VideoPlayer
- UI Builder fails to create StyleSheet with large file name because 'path is outside of the project'
- Repeated warnings appear when applying Lit Material to "SpriteRenderer" in 3D project
- Graphic components errors when running Dedicated Server Build/Standalone build at headless runtime
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0b9
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.7f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.12f1
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.29f1