Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.4.0b11
Issue ID
784524
Regression
Yes
Build fails returning serialization errors when building after reimporting all files
How to reproduce:
1. Open the attached project
2. Right Mouse Click on Assets folder and select Reimport All
3. After it is done, build windows player
Actual: Build fails returning serialization error "Error building Player: get_isActiveAndEnabled is not allowed to be called during serialization, call it from Awake or Start instead. Called from MonoBehaviour 'Text' on game object 'Placeholder'.See "Script Serialization" page in the Unity Manual for further details."
Expected: Build succeeds since the first attempt to build
Workaround: Try building again, after it failed. Second time it will work.
Not reproducible: 5.4.0b9
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
goat
Apr 18, 2016 06:52
OK, then got the same effect as a 'Reimport All' by switching platforms from WebGL to Windows Store. The 1st attempt to build failed with the error cited above; however the 2nd attempt to build caused another reimport to start and finish and this time the Windows Store build succeeded. I think it is somehow related to how much free memory I have.
Thanks.