(Case 1089749) Can't build on Android, no usefull message

Hello,
I’m running the beta 5 (but it happens in the beta 4 too) and I try to compile my project with no success. I’ve the following errors

  • Error building Player because scripts had compiler errors
  • Build completed with a result of ‘Failed’
  • UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts had compiler errors

But no other messages, so I can’t determine where is the problem.

I tried to compile the XRTemplate with Lightweight SRP and it’s fine. There are something in my project that causes the problem.

1 Like

I fixed the problem, it was a reference to UnityEngine.WSA. But the expected behaviour is to indicate that the UnityEngine.WSA namespace is not supported.

It’s another issue, but the provided project doesn’t compile with Lightweight SRP. It’s stuck in a loop when compiling the Lit shader.

Could you please submit a separate report for this issue and reference the original one for its project?

OK, I’ll do that on monday!

Done, case 1090892!

1 Like