Unity-Technologies / HLODSystem

881 stars 142 forks source link

fix: terrain hlod null reference exception #122

Open AymanDev opened 7 months ago

AymanDev commented 7 months ago

Purpose of this PR

NullReferenceException when no Normal map or Mask map provided in TerrainHLOD


Release Notes

This helped me automate creating via custom editor gui create HLODs for multiple terrains at once.


Testing status

Tested this on my project in Unity 2023.3.18f1


Overall Product Risks

Technical Risk: None

Halo Effect: None

No new features from ground up was created. Only few fixes and callback.