|
Post by wohltaeter on Jan 8, 2018 16:13:46 GMT
Hi, I have just updated to the newest version of MA and got an Error: The type or namespace name `PlayModeStateChange' could not be found. Are you missing an assembly reference? "Assets/Plugins/Editor/DarkTonic/MasterAudio/MasterAudioInspector.cs(106,46): error CS0246: The type or namespace name `PlayModeStateChange' could not be found. Are you missing an assembly reference?"
I am using 2017.1.2f1.
What could be the solution?
|
|
|
Post by DarkTonic Dev on Jan 8, 2018 19:28:24 GMT
Sorry, actually this is a problem with the conditional compile directive for that version of Unity. I can't fix it without breaking users of Unity 2017.2 and forward.
You can upgrade to Unity 2017.3 and it will go away. Can you do that?
|
|
piidx
New Member
Posts: 4
Posts: 4
|
Post by piidx on Jan 21, 2018 17:09:47 GMT
I am not able to upgrade to 2017.3. Are there any other workarounds?
|
|
piidx
New Member
Posts: 4
Posts: 4
|
Post by piidx on Jan 21, 2018 17:19:59 GMT
Maybe I got it. I changed PlayModeStateChanged to PlaymodeStateChanged. Was it a typo in the Unity API?
|
|
|
Post by DarkTonic Dev on Jan 21, 2018 17:28:10 GMT
Not a typo. The Unity API changed in the later version. Glad you are sorted.
Why cant you use the newer Unity?
|
|
piidx
New Member
Posts: 4
Posts: 4
|
Post by piidx on Jan 21, 2018 18:27:58 GMT
Console Development.
|
|
|
Post by DarkTonic Dev on Jan 21, 2018 19:39:10 GMT
You are saying what, that there is no newer release for Consoles?
|
|
piidx
New Member
Posts: 4
Posts: 4
|
Post by piidx on Jan 27, 2018 17:29:02 GMT
Unity provides custom versions for specific consoles. They are rarely the latest version of Unity.
|
|
|
Post by DarkTonic Dev on Jan 27, 2018 18:29:10 GMT
I believe the new Console build came out? I heard something.
|
|
|
Post by scrappyorc on Feb 2, 2018 18:18:13 GMT
I'm also seeing compile errors on console that I'm trying to work out at the moment. The latest Unity version that's been released for the platform we're working on is 2017.2.1p2.
|
|
|
Post by DarkTonic Dev on Feb 2, 2018 19:20:23 GMT
Here's what I posted on the Master Audio thread on the Unity forum, that worked for another user.
There's code like this:
#if Unity 2017_1_OR_ABOVE // Unity 2017 code #else // Unity older version code #endif
Just keep the stuff between #if and #else. Remove all the "#" directives and the Unity older version code.
|
|