Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Script not building - Android

Discussion in '5.4 Beta' started by Overbook, Apr 27, 2016.

  1. Overbook

    Overbook

    Joined:
    Jul 6, 2015
    Posts:
    10
    I'm getting crazy trying to solve this problem . I've tried everything I could .

    My script GameManager is the only one who does not work when I build the APK.

    But it works perfectly in Editor and Windows Store Apps (when I build to my Windows Phone).

    I don't know if this is a exclusive problem with this Beta version. But it appeared coincidentally when I installed the Unity Beta 5.4 and compiled the APK for Android .

    Confirm to me if this is a known problem and regardless of the Unity Version, so I can solve it.

    If not, I will report now the problem in the Bug Session.

    Thanks in advance.
     
    Last edited: Apr 27, 2016
  2. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    Could you paste here the error log? It doesn't finish build?
     
  3. Overbook

    Overbook

    Joined:
    Jul 6, 2015
    Posts:
    10
    Actually, my project builds perfectly, without errors. But in editor build log, I found the message "GameManager.cs remove/updated" or some like that.

    I researched the Unity forums and found that the problem was with the "Auto Refresh". My project was not updating the code at build time. So, I uninstalled Unity, deleted my project, downloaded the Unity 5.4.B16 and is now working.

    Thank you anyway