<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Severe Performance Drop when using AdjustToScreen]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2383&amp;type=atom" />
	<updated>2025-08-08T13:43:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2383</id>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9877#p9877" />
			<content type="html"><![CDATA[<p>Thanks Alex! :-)</p>]]></content>
			<author>
				<name><![CDATA[m.berg]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=23492</uri>
			</author>
			<updated>2025-08-08T13:43:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9877#p9877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9876#p9876" />
			<content type="html"><![CDATA[<p>I apologize if what I wrote above looked like I didn&#039;t care about the users of my assets and their problems.<br />I can assure you that is not true.</p><p>I found and fixed the problem. <br />Thank you for reporting it.<br />It&#039;s not in Adjust to Screen, it&#039;s much deeper than that.<br />It&#039;s just that this script was triggering it in some cases.<br />Next week, most likely Tuesday or Wednesday, I will release a new version that will fix this problem.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-08T10:23:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9876#p9876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9875#p9875" />
			<content type="html"><![CDATA[<p>To say it again: The resolution is not too high! I even have solid FPS in the Editor and also on mobile devices when using a 4096x4096 texture without AdjustToScreen. And the performance drops to 1 FPS in the Editor. Not sure what else to say.</p><p>Using my own script now to adjust to the screen resolution correctly (without performance issues).<br />I wonder what this user support forum is about if you don&#039;t seriosuly listen to user feedback.</p>]]></content>
			<author>
				<name><![CDATA[m.berg]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=23492</uri>
			</author>
			<updated>2025-08-08T08:35:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9875#p9875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9874#p9874" />
			<content type="html"><![CDATA[<p>This is not a bug. <br />I&#039;ll say it again: it&#039;s because your screen resolution is too high and, as a result, the resolution of the texture the map is drawn on is too high.</p><p>To fix the problem, use Tileset and/or Adjust to Screen / Half Size - ON.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-07T18:37:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9874#p9874</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9873#p9873" />
			<content type="html"><![CDATA[<p>It&#039;s a major bug nevertheless. Steps to reproduce:</p><p>1) Create a 2D Map using your Wizard with the &quot;Adjust to Screen&quot; Option enabled<br />2) notice the severe performance issue even in the Unity Editor (only 1 frame per second rendered or so)</p>]]></content>
			<author>
				<name><![CDATA[m.berg]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=23492</uri>
			</author>
			<updated>2025-08-07T14:11:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9873#p9873</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9872#p9872" />
			<content type="html"><![CDATA[<p>Adjust to Screen dynamically changes the resolution of the map (in this case, the texture size), adjusting it to the screen size.<br />You can find out the actual texture size you have with Adjust to Screen in playmode.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-05T08:46:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9872#p9872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9871#p9871" />
			<content type="html"><![CDATA[<p>Drawing to a large texture is not the problem. I can have a 2048x1024 texture without any performance issues. The problem comes as soon as I add the AdjustToScreen component even if the screen is smaller than 2048x1024.<br />My workaround now is to have a texture that is much larger than the screen to allow to adjust to all possible aspect ratios. I would expect the AdjustToScreen component to increase performance.<br />The performance issue is also in the Editor on a high-end PC!</p>]]></content>
			<author>
				<name><![CDATA[m.berg]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=23492</uri>
			</author>
			<updated>2025-08-05T07:43:17Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9871#p9871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9870#p9870" />
			<content type="html"><![CDATA[<p>Hi.</p><p>This is due to the too high resolution of modern devices.<br />Ways to improve performance:<br />1. Use Tileset. It&#039;s much faster than drawing to a texture. If you want to map to a UI, the asset contains an example of how to display a Tileset to a UI.<br />2. If you still want to draw to texture, set Adjust To Screen / Half Size to ON.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-01T19:43:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9870#p9870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Severe Performance Drop when using AdjustToScreen]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9869#p9869" />
			<content type="html"><![CDATA[<p>I am on Unity 6.1.14 with Online Map 4.1.0.1</p><p>When I use the AdjustToScreen component, there is a severe performance issue (drops to ~5 FPS when loading or panning the map).<br />I tried it with UI Image or UI Raw Image.</p><p>I noticed there is no sample scene that uses the AdjustToScreen component (at least I didn&#039;t find any).</p><p>Any help greatly apreciated. Thanks!</p><p>Michael</p>]]></content>
			<author>
				<name><![CDATA[m.berg]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=23492</uri>
			</author>
			<updated>2025-08-01T14:09:27Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9869#p9869</id>
		</entry>
</feed>
