magique
Full Member
Posts: 194
Posts: 194
|
Post by magique on Apr 7, 2020 16:05:32 GMT
I'm using the latest Master Audio on Unity 2019.3.8f1 and I keep getting the following error when I run my game:
A scripted object (probably DarkTonic.MasterAudio.MasterAudioSettings?) has a different serialization layout when loading. (Read 52 bytes but expected 120 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
|
|
magique
Full Member
Posts: 194
Posts: 194
|
Post by magique on Apr 7, 2020 16:09:47 GMT
I'm also seeing the following output in the Player log when running in development mode:
The referenced script (DarkTonic.MasterAudio.MasterAudioSettings) on this Behaviour is missing!
I should also point out that the scene I'm currently building and running doesn't even contain Master Audio, but that Master Audio is in the project.
|
|
|
Post by DarkTonic Dev on Apr 7, 2020 20:13:10 GMT
First, go delete that file in Resources/MasterAudio/MasterAudioSettings and hopefully the errors will disappear. It should recreate with the correct settings automatically. Might be because I added a property to it in the last release.
|
|
magique
Full Member
Posts: 194
Posts: 194
|
Post by magique on Apr 8, 2020 0:43:47 GMT
The error is gone. Thanks.
|
|
|
Post by DarkTonic Dev on Apr 8, 2020 1:01:01 GMT
No problem!
|
|