Search Issue Tracker

Fixed

Fixed in 2023.2.12f1, 2023.3.0b8

Votes

0

Found in

2023.2.0b4

2023.3.0b6

Issue ID

UUM-62119

Regression

Yes

Undoing loses ARC reference on an audio source

--

-

When undoing or redoing modifications to the audio source component resource field, the resource reference is lost if it was an audio random container.

*Regression details*

Reproducible on 2023.2.0b4 and up.

Not reproducible on 2023.2.0b3 and down.

*Repro*
# Create and open an empty project.
# Create an audio random container (Assets > Create > Audio > Audio Random Container).
# Import a clip.
# Create an audio source game object (GameObject > Audio > Audio Source).
# Drag the audio random container to the Audio Resource field in the audio source component.
# Drag the clip to the Audio Resource field in the audio source component.
# Undo the latest action.

Expected: The audio source has the audio random container resource.

Actual: The audio source resource is None.

*Note*

This only happens when the undo / redo action is between audio clip and audio random container.

  1. Resolution Note (fix version 2023.3.0b8):

    Fixed an issue that would cause undo/redo to sometimes work incorrectly for the Audio Random Container resource field.

  2. Resolution Note (fix version 2023.2.12f1):

    Fixed an issue that would cause undo/redo to sometimes work incorrectly for the Audio Random Container resource field.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.