Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b21
Issue ID
805380
Regression
No
Generating a scene procedurally via editor scripting and setting the AudioSource.spatialBlend of a prefab causes errors
How to reproduce:
1. Open attached project ant the "TestCode.cs" file in it.
2. Observe the comments in the script and notice that the 'child' GameObject is assigned the name "Child" and is reparented to be a children of 'Root'.
3. Execute from Editor main menu by clicking BugReport -> Create Scene and observe that 'child' is using the name "Classic_E01_F01_Config" and that it is not parented under the 'Root' GameObject.
4. Remove the line "audio.spatialBlend = 0" from the script and execute "BugReport -> Create Scene" again. Observe the name is correct and it's also parented under the 'Root' GameObject.
Reproducible: 5.2.4f1, 5.3.5f1, 5.4.0b21
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Map Viewer shows "Loading..." text instead of indicating users that Baked Texture Maps are missing
- "Analyze Import Process" button misaligned in Import Activity window
- Text in “Baked Shadowmask” mode is difficult to read in Baked Lightmap Viewer when Editor theme is set to Light
- Mesh wireframe is difficult to see in Baked Lightmap Viewer window when texture opacity is maximized
- Informational text does not wrap and does not fit when the Viewer Window is opened by default
Add comment