Search Unity

"Object reference not set" error JUST in build

Discussion in 'UGUI & TextMesh Pro' started by justtime, May 3, 2019.

  1. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    Hi there! Here my case
    I have a scene. It works well in editor and build. After adding some UI elements, adjusting referenses and save i got 4 errors like "Could not extract GUID in text file ... line 225589."
    On this lines i see
    "{fileID: 2, guid: 00000000000000000000000000000000, type: 0}"
    I changed it to
    {fileID: 0}
    Then save. And it's still works in editor. But in build i got bunch of errors like
    " E/Icon: Unable to load resource 0x00000000 from pkg="
    "Object reference not set to an instance of an object" in places when it's 100% present and works in Editor well (and not changing in code in IF ANDROID sections).
    "Error deserializing reauth settings response from device: org.json.JSONException: No value for recovery_url"
    And so on. And that all after only scene saving.
     
  2. matthew_bal

    matthew_bal

    Joined:
    Mar 19, 2014
    Posts:
    1
    I'm also having this issue :(