Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Null Error, textures disappear after saving? Any ideas?

Discussion in 'Scripting' started by Mckaos, Dec 14, 2019.

  1. Mckaos

    Mckaos

    Joined:
    Aug 4, 2017
    Posts:
    10
    Hello all! I am having an issue where after i save, the painted terrain disappears. I keep getting this error: " NullReferenceException: Object reference not set to an instance of an object "

    and here's a pastebin of the full error message: https://pastebin.com/qsrvVVhs

    Also here is an image of the issue: https://imgur.com/WyIYvIM

    As you can see, the ground texture is just blank. The green is what i made a while ago and it saved normally, the new mountain i just created WAS green when i was building it, but after saving, the texture just disappeared, and i'm not sure how to fix it.

    This is multiple terrain tiles next to eachother, i've tried re-saving with no luck. It's especially weird because even with the errors I can still press play and it works. It's just that i can't paint the textures. This is Unity 2019.3 alpha, i tried opening it on a full build version of unity but that just ruined everything. So i'm at loss of what to do now.