<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Error: NullReferenceException: Object reference not set to an instance]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=169</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=169&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error: NullReferenceException: Object reference not set to an instance.]]></description>
		<lastBuildDate>Fri, 17 Jun 2016 14:51:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=758#p758</link>
			<description><![CDATA[<p>The problem solved! Thank you！</p>]]></description>
			<author><![CDATA[null@example.com (wfr_tc)]]></author>
			<pubDate>Fri, 17 Jun 2016 14:51:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=758#p758</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=756#p756</link>
			<description><![CDATA[<p>Hello.</p><p>Bug fixed.<br />The new version is already available through the built-in update system.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 17 Jun 2016 11:06:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=756#p756</guid>
		</item>
		<item>
			<title><![CDATA[Error: NullReferenceException: Object reference not set to an instance]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=755#p755</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (wfr_tc)]]></author>
			<pubDate>Fri, 17 Jun 2016 03:54:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=755#p755</guid>
		</item>
	</channel>
</rss>
