<?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 — Cannot initialize non-default texture with negative or zero width.]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2127</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2127&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Cannot initialize non-default texture with negative or zero width..]]></description>
		<lastBuildDate>Mon, 19 Jun 2023 15:50:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Cannot initialize non-default texture with negative or zero width.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9078#p9078</link>
			<description><![CDATA[<p>Thanks Alex, perfect.</p>]]></description>
			<author><![CDATA[null@example.com (LazzLab)]]></author>
			<pubDate>Mon, 19 Jun 2023 15:50:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9078#p9078</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot initialize non-default texture with negative or zero width.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9067#p9067</link>
			<description><![CDATA[<p>Hi.</p><p>Thanks for the bug report.<br />I will add support for Unity 2023.1 and fix this bug and all the warnings in the next version of the asset, which will be released in early July.</p><p>How do you fix this right now:<br />Open the OnlineMapsCache.cs file in your IDE or text editor, and on lines 223 and 245, change <br />new Texture2D(0, 0<br />to <br />new Texture2D(1, 1</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 15 Jun 2023 10:22:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9067#p9067</guid>
		</item>
		<item>
			<title><![CDATA[Cannot initialize non-default texture with negative or zero width.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9065#p9065</link>
			<description><![CDATA[<p>Hello Alex.<br />Today Unity 2023.1 was released, and I wanted to test one of my projects with OnlineMaps 3.8.3.1. I&#039;m getting the error that I&#039;m attaching below. The error also occurs in a clean and new project if I activate &quot;Use File Cache.&quot; <br />-------<br />Cannot initialize non-default texture with negative or zero width.<br />UnityEngine.Texture2D:.ctor (int,int,UnityEngine.TextureFormat,bool)<br />OnlineMapsCache:LoadTile (OnlineMapsTile,byte[]) (at Assets/Infinity Code/Online maps/Scripts/Cache/OnlineMapsCache.File.cs:245)<br />OnlineMapsCache/&lt;&gt;c__DisplayClass65_1:&lt;TryLoadFromFileCache&gt;b__1 () (at Assets/Infinity Code/Online maps/Scripts/Cache/OnlineMapsCache.File.cs:336)<br />OnlineMapsThreadManager:ExecuteMainThreadActions () (at Assets/Infinity Code/Online maps/Scripts/Threading/OnlineMapsThreadManager.cs:113)<br />OnlineMaps:Update () (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:1476)<br />-------<br />Thank you for your endless assistance.</p>]]></description>
			<author><![CDATA[null@example.com (LazzLab)]]></author>
			<pubDate>Wed, 14 Jun 2023 21:15:22 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9065#p9065</guid>
		</item>
	</channel>
</rss>
