<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Error: NullReferenceException: Object reference not set to an instance]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=169&amp;type=atom" />
	<updated>2016-06-17T14:51:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=169</id>
		<entry>
			<title type="html"><![CDATA[Re: Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=758#p758" />
			<content type="html"><![CDATA[<p>The problem solved! Thank you！</p>]]></content>
			<author>
				<name><![CDATA[wfr_tc]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=165</uri>
			</author>
			<updated>2016-06-17T14:51:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=758#p758</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=756#p756" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Bug fixed.<br />The new version is already available through the built-in update system.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-06-17T11:06:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=756#p756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=755#p755" />
			<content type="html"><![CDATA[<p>(Firstly, I&#039;d like to say this tool is fantastic. It saved me a huge bunch of time to transfer my terrains from 3dmax to unity. Thank you , my dear developers. )</p><p>I have met a wired problem, and stucked on it for a while. I have a terrain which is made in 3dmax, it is a collection of 1302 pieces of meshes, and every mesh has its material. I recieved a bunch of errors while applying the Mesh To Terrainl, but it seems to be the same type of error. (shown below) The wired part of this is when I convert the meshes piecewisely (10 pieces of meshes per time), there is no error appeared, but since I have 1300 pieces of meshes, it is too tedious to convert them 10 by 10. <br />Need help . . .&nbsp; </p><p>NullReferenceException: Object reference not set to an instance of an object<br />MeshToTerrain.GetColor (Vector3 curPoint, Single raycastDistance, Vector3 raycastDirection, Int32 mLayer, UnityEngine.Renderer&amp; lastRenderer, System.Int32[]&amp; triangles, UnityEngine.Vector3[]&amp; verticles, UnityEngine.Vector2[]&amp; uv) (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrain.cs:427)<br />MeshToTerrain.UpdateTexture (UnityEngine.Terrain t) (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrain.cs:1058)<br />MeshToTerrain.Update () (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrain.cs:809)<br />System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)<br />Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.<br />System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)<br />System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)<br />UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:187)<br />UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:180)<br />UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:245)<br />UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:217)</p>]]></content>
			<author>
				<name><![CDATA[wfr_tc]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=165</uri>
			</author>
			<updated>2016-06-17T03:54:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=755#p755</id>
		</entry>
</feed>
