Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.7f1
2018.4.0a1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1140982
Regression
No
Serialized references are reported as null when queuing up multiple builds from CLI
How to reproduce:
1. In the attached project folder, open "build.ps1" PowerShell script and set the "UNITY_EXE" path to your "Unity.exe" file
2. Make sure that the specified Unity installation has IL2CPP installed
3. Run the "build.ps1" script
4. Check the generated "build-editor.log" file
Expected results: All builds build successfully
Actual results: the first build builds successfully, all other queued builds fail because of missing serialized references
Reproducible with: 2018.4.1f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a5
Couldn't test with 2017.4 because it doesn't support IL2CPP
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
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
- The "Install Packages" button misses tooltips that would explain its behaviors
Resolution Note:
Different platforms require assets to be reimported which can cause the asset to be unloaded as such with this case. The recommendation for building from command line is to launch unity using the -buildTarget option for the platform you want to build, build just that platform, then close unity and repeat for each unique platform. This ensures the state of the editor is correct for each platform build.