Search Issue Tracker

Won't Fix

Votes

0

Found in

5.0.0b12

Issue ID

646973

Regression

No

Warning about deprecated audio API looks wrong

Audio

-

Recently, AudioClip.isReadyToPlay was deprecated, so if someone uses it in a script, this warning message will be displayed:
"warning CS0618: `UnityEngine.AudioClip.isReadyToPlay' is obsolete: `AudioClip.isReadyToPlay is obsolete. Use AudioClip.loadType instead to get more detailed information about the loading process.'"

Notice that it says the method is obsolete twice. It should only say that once.

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.