You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line works well in the Editor on windows:
m_file = File.Load(asset);
But with an Android deployment, it returns zero.
I am also getting this error in the console:
[Worker0] OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Any ideas?
The text was updated successfully, but these errors were encountered:
For the file loading issue, can you confirm that you're using the OpenGL Graphics APIs and not Vulkan? I'm not able to reproduce this on my end on Android.
The OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM error is a known issue, and we're looking into it.
Indeed it was caused by Vulkan being set by the automatic graphics API setting.
I have two recommendations to make related to this:
In the example projects (basic and other Unity example projects), do not set the graphics API to automatic but instead to manual with no Vulkan selected.
Detect if Vulkan is used and throw an understandable error instead of quietly not working on Android.
This line works well in the Editor on windows:
m_file = File.Load(asset);
But with an Android deployment, it returns zero.
I am also getting this error in the console:
[Worker0] OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Any ideas?
The text was updated successfully, but these errors were encountered: