Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0f3
Issue ID
863213
Regression
No
Could building fails when reserved field names are used, but build in editor is successful
Steps to reproduce:
1. Download "863213 repro.zip"
2. Enable Collab for the project
3. Publish the changes
4. Enable cloud build for the project
5. Setup cloud build for "Default Mac Desktop 64-bit" with default settings
6. Notice that Cloud Build fails
7. Try to build on Editor
8. Notice that Editor build is successful.
Actual result: building in editor is successful, cloud build fails with "[Unity] Player export failed. Reason: 4 errors" (caused by the use of reserved field name in the script)
Expected result: build fails or succeeds on both editor and Cloud Build
Reproduced on: 5.5.3p3, 5.6.1f1, 2017.1.0b5, building to OSX 64-bit, Android, iOS.
Notes:
* There is a script "adScript.cs" that has a field named m_Name. Script is attached to the camera. Selecting Camera in Hierarchy window throws an error regarding a reserved name being used:
The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) m_Name
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
- “ReferenceError: Pointer_stringify is not defined” error is thrown when downloading a file
- GameObjects are not rendered when using a fragment shader with RWStructuredBuffer in URP
Add comment