SebLague / Procedural-Planets

Home Page:https://www.youtube.com/watch?v=QN39W020LqU&index=2&t=0s&list=PLFt_AvWsXl0cONs3T0By4puYy6GM22ko8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EP01: NullReferenceException: Object reference not set to an instance of an object Planet.Initialize () (at Assets/Planet.cs:41) Planet.OnValidate () (at Assets/Planet.cs:16)

Andyloris opened this issue · comments

When the script finishes compiling, it throws this really ugly error:

NullReferenceException: Object reference not set to an instance of an object Planet.Initialize () (at Assets/Planet.cs:41) Planet.OnValidate () (at Assets/Planet.cs:16)

i use unity 2020.2.6f1
How do i fix that ?

Thanks !