Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Problem with == Null

$
0
0
I have a problem I have this script : if (Vertices == null) { Vertices = d.Vertices; Triangles = d.Triangles; Uvs = d.Uvs; Debug.Log ("activated Null in meshdata "+Vertices.Length); } My Problem is that Vertices isn't Null but gets activated The debug.log says: activated Null in meshdata 4 UnityEngine.Debug:Log(Object) MeshData:add(MeshData) (at Assets/Source/MeshData.cs:37) Im not an expert so please explain it as easy as possible :) Thank you in Advance :)

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>