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
- Stale Unity 2019.4.41f1 shaders persist in builds when upgrading a project to a newer Unity version
- Selecting Dependencies > Type in Scene Template Inspector throws “ObjectDisposedException” and “NullReferenceException” errors in the Console when sorting dependencies
- MissingReferenceException during image import to Tile Palette when in Tile Palette Edit mode
- [Semantic Diff] - Semantic merge does not recognize preprocessor defines.
- Texture preview Slice slider is not greyed out when 2D Array has only one slice and no interaction is available
Add comment