Search Issue Tracker
By Design
By Design in 6000.0.X
Votes
0
Found in
2021.3.38f1
2022.3.30f1
6000.0.4f1
Issue ID
UUM-72579
Regression
No
Audio Source stops playing when moved to a scene with LocalPhysicsMode.Physics2D Parameter
Reproduction steps:
1. Open the “ReproProject“ project
2. Enter Play Mode
3. Click the “Play Sound“ button in the Game View
4. Click the “Move to different scene“ button in the Game View
5. Observe the sound
Expected result: The sound is not cut off and continues playing
Actual result: The sound is cut off and does not continue playing
Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.4f1
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note: Does not reproduce when the Scene is created without the “LocalPhysicsMode.Physics2D” Parameter
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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
Currently moving a GameObject to a new physics scene requires that the GameObject goes through an activation cycle (Disable+Enable). In this case going from the default physics scene to a local phsyics scene, created when specifying the phsyics mode in CreateScene.
This is currently very heavy handed, as many components (e.g AudioSource) do not need to do anything special when going into a new physics scene. It is currently a known limitation that has plans to be addressed in future versions of Unity.
Resolution Note (6000.0.X):
Currently moving a GameObject to a new physics scene requires that the GameObject goes through an activation cycle (Disable+Enable). In this case going from the default physics scene to a local phsyics scene, created when specifying the phsyics mode in CreateScene.
This is currently very heavy handed, as many components (e.g AudioSource) do not need to do anything special when going into a new physics scene. It is currently a known limitation that has plans to be addressed in future versions of Unity.