<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can anyone help with this unity error? It's causing some of my shaders to not work.]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1750733417270-e454f020-f804-4301-9b3b-2180613671cb-image.png" alt="e454f020-f804-4301-9b3b-2180613671cb-image.png" class=" img-fluid img-markdown" width="1339" height="284" /></p>
]]></description><link>https://forum.ripper.store/topic/64091/can-anyone-help-with-this-unity-error-it-s-causing-some-of-my-shaders-to-not-work.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 00:37:25 GMT</lastBuildDate><atom:link href="https://forum.ripper.store/topic/64091.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jun 2025 02:50:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Mon, 30 Jun 2025 19:06:11 GMT]]></title><description><![CDATA[<p dir="auto">@Mami yayayay yw&lt;3<br />
<img src="https://media1.tenor.com/m/4yqydbnllxsAAAAC/hugsss-iluvmybf.gif" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ripper.store/post/952935</link><guid isPermaLink="true">https://forum.ripper.store/post/952935</guid><dc:creator><![CDATA[kaokumi]]></dc:creator><pubDate>Mon, 30 Jun 2025 19:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Mon, 30 Jun 2025 07:15:31 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much! Finally got around to sorting out this issue, it works!</p>
]]></description><link>https://forum.ripper.store/post/951766</link><guid isPermaLink="true">https://forum.ripper.store/post/951766</guid><dc:creator><![CDATA[Akisan]]></dc:creator><pubDate>Mon, 30 Jun 2025 07:15:31 GMT</pubDate></item><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Fri, 27 Jun 2025 18:18:59 GMT]]></title><description><![CDATA[<p dir="auto">sorry for the double text, im comparing both your .cs file and mine, and they look identical. go here: <img src="/assets/uploads/files/1751044727804-screenshot-2025-06-27-131823.png" alt="Screenshot 2025-06-27 131823.png" class=" img-fluid img-markdown" width="1135" height="539" /></p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/1751044566199-screenshot-2025-06-27-131449.png" alt="Screenshot 2025-06-27 131449.png" class=" img-fluid img-markdown" width="1232" height="533" /></p>
<hr />
<p dir="auto">ignore my stupid file directory names but if you go to your unity project&gt;projectsettings, there should be the liltoonsetting.json. i redownloaded the liltoonsetting.cs and liltoonsetting.cs.meta files from github and nothing really changed, so that .cs isnt the issue. its the json file seen above in the file explorer. heres all 3 files just in case.</p>
<p dir="auto"><a href="/login" class="hide-to-guest">[register or login to view this hidden content]</a></p>
<hr />
<p dir="auto">the error isnt caused by the cs file, its the json.</p>
<p dir="auto">System.Reflection.TargetInvocationException &gt; System.ArgumentException: JSON parse error: The document is empty.</p>
<ul>
<li>liltoonsetting.cs is trying to read and parse the json file during startup, but the file its trying to read is either corrupt or empty. (for ref, my liltoonsetting.json is 5.02kb). essentially what liltoon does is use that json file as a basis for user settings and shader settings. if its either corrupt or empty, thats when liltoon panics and unity throws that parser error at u.</li>
</ul>
<p dir="auto"><strong>heres what its trying to do in that error:</strong></p>
<p dir="auto">1 . <strong>at UnityEngine.JsonUtility.FromJsonOverwrite (System.String json, System.Object objectToOverwrite [0x00059] in &lt;87781e9b12134dbc9598174129a79531&gt;:0</strong> -- unity is trying to parse (examine, analyze) json data from a string and overrwrite its values.<br />
<img src="/assets/uploads/files/1751048097077-screenshot-2025-06-27-141147.png" alt="Screenshot 2025-06-27 141147.png" class=" img-fluid img-markdown" width="1286" height="422" /></p>
<ol start="2">
<li><strong>at lilToonSetting.LoadShaderSetting (lilToonSetting&amp; shaderSetting) [0x000ff] in .\Packages\jp.lilxyzw.liltoon\Editor\lilToonSetting.cs:219</strong> -- inside that .cs file on ln219, the function LoadShaderSetting is calling for FromJsonOverwrite<br />
<img src="/assets/uploads/files/1751048213123-e582fe39-2a8a-4016-939d-9f53e882cc78-image.png" alt="e582fe39-2a8a-4016-939d-9f53e882cc78-image.png" class=" img-fluid img-markdown" width="1841" height="149" /></li>
<li><strong>at lilToonSetting.InitializeShaderSetting (lilToonSetting&amp; shaderSetting) [0x000f0] in .\Packages\jp.lilxyzw.liltoon\Editor\lilToonSetting.cs:226</strong> -- on ln226, InitializeShaderSetting is calling for LoadShaderSetting.<br />
<img src="/assets/uploads/files/1751048127666-screenshot-2025-06-27-141058.png" alt="Screenshot 2025-06-27 141058.png" class=" img-fluid img-markdown" width="1779" height="143" /></li>
<li>at lilToon.lilStartup.Initialize() [0x00062] in .\Packages\jp.lilxyzw.liltoon\Editor\lilStartup.cs:77 -- diff cs file, lilstartup.cs, on ln77, lilStartup.Initialize() is calling for InitializeShaderSetting</li>
</ol>
<hr />
<p dir="auto">what this part is saying is essentially its base protocols, calling for certain files. but when the scripts try to read the json file, if its empty or corrupt, its not gonna read anything. "LoadShaderSetting" tries to read "LiltoonSetting.json", but if its fed a file that it doesnt like, it spits the yucky stuff at "JsonUtility.FromJsonOverwrite", and that file then spits the parse error at you, so essentially look at it like a mother and baby bird, mother tries to feed baby spoiled worm, baby throws a tantrum <img src="https://forum.ripper.store/assets/plugins/nodebb-plugin-emoji/emoji/android/1f920.png?v=9b15657bda9" class="not-responsive emoji emoji-android emoji--face_with_cowboy_hat" style="height:23px;width:auto;vertical-align:middle" title=":face_with_cowboy_hat:" alt="🤠" />. if files from the previous install are left over, even remnants, it could cause the new install to read those files, or unity tries to overwrite the new files with the existing, and this ultimately could happen.</p>
<hr />
<p dir="auto">if you installed liltoon through the package manager, remove it through there. itll remove all of the packagemanager references and the packagecache. for certainty, check your file explorer for liltoon (should be (ur project)&gt;assets&gt;liltoon, or (ur project&gt;library&gt;packagecache&gt;jp.lilxyzw.liltoon@(whatever numbers follow idk could be diff), you can remove that for good measure but if youre not comfortable w that, its completely optional. &gt; try installing through <a href="https://github.com/lilxyzw/lilToon" rel="nofollow ugc">github</a>. i know this was a bunch of technical jargon and i hate to be that type of person bc my adhd peabrain would not read all of that, but i essentially wanted to give a rundown on whats going on, as unity wouldnt let me replicate that error without the .json file, so again, i sent all 3 known good files (.json, .cs, .cs.meta), so try replacing those in your files. im on liltoon ver. 1.10.3 <img src="/assets/uploads/files/1751047777154-28fd259f-1a75-45b0-bfd8-202d47876ee9-image.png" alt="28fd259f-1a75-45b0-bfd8-202d47876ee9-image.png" class=" img-fluid img-markdown" width="790" height="565" /></p>
]]></description><link>https://forum.ripper.store/post/945380</link><guid isPermaLink="true">https://forum.ripper.store/post/945380</guid><dc:creator><![CDATA[kaokumi]]></dc:creator><pubDate>Fri, 27 Jun 2025 18:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Fri, 27 Jun 2025 17:04:21 GMT]]></title><description><![CDATA[<p dir="auto">gonna attempt to recreate the issue and hopefully i can get it to work&lt;3 is this on unity 2022.3?</p>
]]></description><link>https://forum.ripper.store/post/945224</link><guid isPermaLink="true">https://forum.ripper.store/post/945224</guid><dc:creator><![CDATA[kaokumi]]></dc:creator><pubDate>Fri, 27 Jun 2025 17:04:21 GMT</pubDate></item><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Fri, 27 Jun 2025 11:55:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaokumi" aria-label="Profile: kaokumi">@<bdi>kaokumi</bdi></a>, yes, it is!</p>
<p dir="auto">Also I just tried this, clean reinstall, nothing seems to be working for me here.</p>
<p dir="auto"><a href="/login" class="hide-to-guest">[register or login to view this hidden content]</a></p>
]]></description><link>https://forum.ripper.store/post/944763</link><guid isPermaLink="true">https://forum.ripper.store/post/944763</guid><dc:creator><![CDATA[Akisan]]></dc:creator><pubDate>Fri, 27 Jun 2025 11:55:09 GMT</pubDate></item><item><title><![CDATA[Reply to Can anyone help with this unity error? It's causing some of my shaders to not work. on Tue, 24 Jun 2025 18:05:21 GMT]]></title><description><![CDATA[<p dir="auto">heyooo, hopefully i can help a bit as i have some coding experience. it seems like unity tried loading the json file for liltoon, and it does exist, but its either empty, corrupt, maybe messed w a little? if you go into where ur liltoon package is stored, either assets or package files, there should be a json file that kinda looks like "liltoonsettings.json" or something along those lines, open that up in vis studio or text editor, and if that file is empty, delete it and liltoon/unity could auto regen it. if you want to play it safe though, completely wipe liltoon from unity (i know its a pain lmao ive done it w poi so many times), and do a clean reinstall. i could try to recreate this issue in my own unity or if u send a copy of the json over, or a screenshot of it, i could perhaps see whats happening.</p>
<p dir="auto">also on a completely separate note, is ur usertag and signature a rhea ripley reference? <img src="https://forum.ripper.store/assets/plugins/nodebb-plugin-emoji/emoji/android/1f440.png?v=9b15657bda9" class="not-responsive emoji emoji-android emoji--eyes" style="height:23px;width:auto;vertical-align:middle" title=":eyes:" alt="👀" /></p>
]]></description><link>https://forum.ripper.store/post/937826</link><guid isPermaLink="true">https://forum.ripper.store/post/937826</guid><dc:creator><![CDATA[kaokumi]]></dc:creator><pubDate>Tue, 24 Jun 2025 18:05:21 GMT</pubDate></item></channel></rss>