Hello! When I build with IL2CPP, certain features in my game such as my audio disabler and my sprite renderer breaks.
My audio features are done through a sound toggle button which sets the listener volume to 0. This volume no longer changes when I tap the button. Another button is supposed to change an image present in my scene, but the image no longer changes. These issues are not present on Mono, but this game is for Google Play so that’s not quite an option unfortunately. The buttons are not causing the issue as they still play sounds, but it’s those components specifically that don’t function properly (Listener float volume and Sprite sprite).
I also haven’t seen any errors in the console about why this might be happening. I’ve included some other useful information below. Any help would be greatly appreciated
Unity 2020.3.2f1 Personal
C++ Complier Configuration: Release
Api Compatibility Level*: .NET Standard 2.0
Target Architectures: ARMv7, ARMv64
Managed Stripping Level: Low
Strip Engine Code*: Off