Search Issue Tracker
Fixed in 2019.1.X
Duplicate in 2018.4.X
Votes
0
Found in
5.6.1f1
Issue ID
922692
Regression
No
Conditional compilation problem with RuntimeInitializeOnLoadMethod
Repro steps:
1. Open "DELETE.zip" project
2. Clear the Console and enter Play mode
3. Exit Play mode and check the Console output (Test A, B, and C should be output)
4. "File" -> "Build Settings..." -> "Build" -> Build the project for Windows Standalone
5. Open the built project
6. Go to the directory where you built the project -> "...._Data" -> "output_log"
7. At the very bottom notice that only Test B and C are output
Expected result: Test A, B, and C should be output to the Windows Standalone output log
Actual result: Test A isn't outputted to the output log
Fixed in: 2019.1.0a6
Reproduced with: 2017.2.0a4. 2017.1.0b10, 5.6.2f1, 5.5.4p1, 5.4.5p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Add comment