<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — "Destroying assets is not permitted to avoid data loss" ???]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1847&amp;type=atom" />
	<updated>2021-09-25T13:33:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1847</id>
		<entry>
			<title type="html"><![CDATA[Re: "Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7767#p7767" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2021-09-25T13:33:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7767#p7767</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7765#p7765" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-09-25T12:35:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7765#p7765</id>
		</entry>
		<entry>
			<title type="html"><![CDATA["Destroying assets is not permitted to avoid data loss" ???]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7763#p7763" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2021-09-24T20:40:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7763#p7763</id>
		</entry>
</feed>
