KSP-KOS / KOS

Fully programmable autopilot mod for KSP. Originally By Nivekk
Other
691 stars 229 forks source link

Deprecation warning in sound playing system - should change the call. #1700

Closed Dunbaratu closed 7 years ago

Dunbaratu commented 8 years ago

There are two places in our code where this warning is coming up during compiling:

'UnityEngine.AudioClip.isReadyToPlay' is obsolete: 'Use AudioClip.loadState instead to get more detailed information about the loading process.'

It started happening I think with Unity5 and because it's just a warning we hadn't noticed.

Chances are we can fix this at the same time as we add a way to access sounds from Kerboscript, but I wanted to get the issue made before I forgot about it.

Dunbaratu commented 7 years ago

Closed because this got fixed in a subsequent update to the audio system (but I don't remember where -I just know it's not happening anymore.)