Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice

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

Discussion in '2018.3 Beta' started by demonixis, Oct 11, 2018.

  1. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    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.
     
    LeonhardP likes this.
  2. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    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.
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,135
    Could you please submit a separate report for this issue and reference the original one for its project?
     
  4. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    OK, I'll do that on monday!
     
  5. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    Done, case 1090892!
     
    LeonhardP likes this.