- Home /
Unity 5 AudioMixer nullreference on iOS using IL2CPP
Hi all, I don't know if I missed something obvious regarding IL2CPP, the new AudioMixer and iOS, but I cant find any information about my nullreference problem.
I found this thread that also share my issue: http://forum.unity3d.com/threads/unity-5-audiomixer-and-audiomixersnapshots-problem-on-ios.298233/
The AudioMixer, AudioMixerGroup and AudioSnapshot are all assigned via public variables, like in the thread above.
When I build for iOS using IL2CPP (I've tried with both Universal and ARMv7 Architecture) I get a nullreference for all assigned variables.
When I build for iOS using Mono I DON'T get the nullreferences.
I'm using Unity 5.0.0f4 (also tried Unity 5.0.0p4), latest Xcode 6.2 on a MacBook Air with OS X Yosemite. Test device: iPhone5 v 8.2.
Does anyone have an idea or good information about this issue?
Follow my forum thread here: http://forum.unity3d.com/threads/unity-5-audiomixer-nullreference-on-ios-using-il2cpp.313333/
This is a related issue on the issue tracker: http://issuetracker.unity3d.com/issues/il2cpp-audiomixer-dot-findmatchinggroups-returns-null
Thanks!
Answer by JoshPeterson · Mar 27, 2015 at 08:39 AM
I can't offer too many answers now, other than to say that this looks like a bug in IL2CPP. Thanks for submitting the bug report, we will investigate it.