<?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 — "Destroying assets is not permitted to avoid data loss" ???]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1847</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1847&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in "Destroying assets is not permitted to avoid data loss" ???.]]></description>
		<lastBuildDate>Sat, 25 Sep 2021 13:33:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: "Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7767#p7767</link>
			<description><![CDATA[<p>Hello Alex.<br />Thanks for the answer, I am very impatient to see the new features of the V3. If you need a beta tester don&#039;t hesitate. I found a workaround for the&nbsp; issue, using another sphere with an inside shader and it works fine.<br />Best regards.<br />Philippe</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Sat, 25 Sep 2021 13:33:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7767#p7767</guid>
		</item>
		<item>
			<title><![CDATA[Re: "Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7765#p7765</link>
			<description><![CDATA[<p>Hello.</p><p>Thanks for the bug report.<br />A major update to uPano (v3) is planned for next week, and I will try to make sure that it contains a fix for this issue.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 25 Sep 2021 12:35:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7765#p7765</guid>
		</item>
		<item>
			<title><![CDATA["Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7763#p7763</link>
			<description><![CDATA[<p>Hello,</p><p>I get a strange error in play mode and unity pauses.<br />In the build mode, no message, but the material turns to black.<br />I read an answer relative to this error message in the forum, but concerning OLMaps.<br />This is very strange, as I already used this PM Action dozens of times with no issue.</p><p>When Unity enters pause mode, I get this message in the console:</p><p>Destroying assets is not permitted to avoid data loss.<br />If you really want to remove an asset use DestroyImmediate (theObject, true);<br />UnityEngine.Object:Destroy (UnityEngine.Object)<br />InfinityCode.uPano.Renderers.Base.SingleTexturePanoRenderer`1&lt;InfinityCode.uPano.Renderers.SphericalPanoRenderer&gt;:set_texture (UnityEngine.Texture) (at Assets/Plugins/Infinity Code/uPano/Scripts/Renderers/Base/SingleTexturePanoRenderer.cs:34)<br />System.Reflection.PropertyInfo:SetValue (object,object,object[])<br />HutongGames.PlayMaker.ReflectionUtils:SetMemberValue (System.Reflection.MemberInfo,object,object) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ReflectionUtils.cs:335)<br />HutongGames.PlayMaker.ReflectionUtils:SetMemberValue (System.Reflection.MemberInfo[],object,object) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ReflectionUtils.cs:366)<br />HutongGames.PlayMaker.FsmProperty:SetValue () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmProperty.cs:351)<br />HutongGames.PlayMaker.Actions.SetProperty:OnEnter () (at Assets/PlayMaker/Actions/UnityObject/SetProperty.cs:26)<br />HutongGames.PlayMaker.FsmState:ActivateActions (int) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)<br />HutongGames.PlayMaker.FsmState:OnEnter () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)<br />HutongGames.PlayMaker.Fsm:EnterState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2771)<br />HutongGames.PlayMaker.Fsm:SwitchState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2718)<br />HutongGames.PlayMaker.Fsm:UpdateStateChanges () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2643)<br />HutongGames.PlayMaker.Fsm:Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1926)<br />PlayMakerFSM:Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:563)</p><p>Then if I press play again, a message is displayed lot of times<br />NullReferenceException: Object reference not set to an instance of an object<br />InfinityCode.uPano.Renderers.Base.PanoRenderer.GetPanTiltByScreenPosition (UnityEngine.Vector2 screenPoint, System.Single&amp; pan, System.Single&amp; tilt) (at Assets/Plugins/Infinity Code/uPano/Scripts/Renderers/Base/PanoRenderer.cs:182)<br />InfinityCode.uPano.Renderers.Base.PanoRenderer.GetPanTiltUnderCursor (System.Single&amp; pan, System.Single&amp; tilt) (at Assets/Plugins/Infinity Code/uPano/Scripts/Renderers/Base/PanoRenderer.cs:215)<br />InfinityCode.uPano.Controls.MouseControl.Drag (System.Boolean&amp; changed) (at Assets/Plugins/Infinity Code/uPano/Scripts/Controls/MouseControl.cs:108)<br />InfinityCode.uPano.Controls.MouseControl.Update () (at Assets/Plugins/Infinity Code/uPano/Scripts/Controls/MouseControl.cs:218)</p><p>If this can help, I have to mention that :<br />- my project has 2 scenes, each with 1 Upano<br />- The project is for VR with XR (Oculus Quest2)</p><p>Any help mostly welcome as I spent several hours trying to solve this problem with no result.<br />Thanks, Philippe</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Fri, 24 Sep 2021 20:40:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7763#p7763</guid>
		</item>
	</channel>
</rss>
