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

IL2CPP

-

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

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.0b9

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.7f1

  3. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.12f1

  4. Resolution Note (fix version 2018.4):

    Fixed in: 2018.4.29f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.