UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) Error when building android apk

Hey, so i was going to export my project as an apk, alls going well, I go to export it, it loads for aproximatly 195219 ms (195 secs) and it gives me 4 errors:
Build completed with a result of ‘Failed’ in 195 seconds (195219 ms)
4 errors

Assertion failed on expression: ‘m_LockCount == 0’
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Building - Failed to write file: resources.assets
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Error building Player: 3 errors

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

An asset is marked with HideFlags.DontSave but is included in the build:
Asset: ‘Assets/Resources/PhotonVR/Assets/PhotonVRLogo.png’
Asset name: PhotonVRLogo
(You are probably referencing internal Unity data in your build.)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

I am new to unity, and dont really know what any of these mean, ive tried to google em but nothing comes up. Can anyone help?

Haven’t seen this before, here’s few tips:

  • do you have enough disk space left?
  • do you have antivirus present, maybe it’s locking the file? Try do temporarily disable to see if it’s the case
1 Like

So, i dont really know what I did, but moving the photon logo into the main assets folder, completley fixed all 4 errors i was getting. 3 of them (im assuming) not even being related… I have no clue…

just change the pngs to 2d