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
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
- Some Prefab Source and Override content bounds are misaligned
- The Package Manager's "install packages by..." panels break when Domain Reload is triggered, and the panel is open
- Crash with multiple stack traces when leaving a docked VFX Graph open
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