Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.1.6f1

Issue ID

1053267

Regression

No

IL2CPP build cannot generate Ahead-Of-Time code

IL2CPP

-

How to reproduce:
1. Open user-submitted project (AotBug.zip)
2. Open "SampleScene.unity" scene
3. Play the scene
4. Press "Test" button
5. Stop playing the scene
6. Build a Windows Standalone application and run
7. Press "Test" button
8. Observe generated errors

Expected result: Unity compiles code both in the editor and build
Actual result: Unity compiles code in the editor but fails compilation in the build

Reproducible with: 2018.1.7f1, 2018.2.0b11, 2018.3.0a3
Could not test with: 2017.1, 2017.2, 2017.4 (IL2CPP was not available yet)

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.