Building to Android compiler error: Missing reference to SharedMemoryInterface in SharedMemoryInterfaceEditor
When switching build mode to Android, the SharedMemoryInterfaceEditor is still compiled but SharedMemoryInterface is not.
First line in SharedMemoryInterface:
#if UNITY_STANDALONE_WIN
First line in SharedMemoryInterfaceEditor:
#if (UNITY_EDITOR && !UNITY_EDITOR_OSX && !UNITY_EDITOR_LINUX)
Clearly, in android, the SharedMemoryInterface is not declared but SharedMemoryInterfaceEditor is, leading to compiler error.
Work around: Change first line in SharedMemoryInterfaceEditor to:
#if (UNITY_EDITOR && UNITY_STANDALONE_WIN && !UNITY_EDITOR_OSX && !UNITY_EDITOR_LINUX)
Antwort
Nevermind, found the supported platforms page in the docs https://doc.realvirtual.io/advanced-topics/supported-platforms
Thanks a lot - which version are you using. In the current release we are able to build to Android? The compiler define of your work around is a solution - in current release it should be solved by the assembly definition.
Customer support service by UserEcho
Thanks a lot - which version are you using. In the current release we are able to build to Android? The compiler define of your work around is a solution - in current release it should be solved by the assembly definition.