Skip to content

The vanilla buttons to add fade in/out on AlphaOverLifetimeLinearGradient don't work #8

Description

@Nytra
Exception running SyncElementChanged. On element:
Element: ID1808F400, Type: FrooxEngine.SyncLinear`1[System.Single], World: Nytra World, IsRemoved: False, Name: AlphaOverLifetime, Disposed: False, LastVersion: 0, LastConfirmedTime: 0, LastHostVersion: 0, LastModifyingUser: 
Element: ID1808F000, Type: FrooxEngine.PhotonDust.AlphaOverLifetimeLinearGradient, World: Nytra World, IsRemoved: False, IsDestroyed: False, IsDisposed: False, Enabled: True
Element: ID6433600, Type: FrooxEngine.Slot, World: Nytra World, IsRemoved: False, Initializers (ID6433600) <T: [0; 0; 0], R: [0; 0; 0; 1], S: [1; 1; 1], IsActive: True, ActiveSelf: True, Started: True, Destroyed: False, Disposed: False, Local: False, RenderableCount: 0> Parent: ParticleSystem
Element: ID642C100, Type: FrooxEngine.Slot, World: Nytra World, IsRemoved: False, ParticleSystem (ID642C100) <T: [2.1421242; -0.01815772; -0.14432573], R: [0; -0.22921464; -0; 0.9733759], S: [0.99999994; 1; 0.99999994], IsActive: True, ActiveSelf: True, Started: True, Destroyed: False, Disposed: False, Local: False, RenderableCount: 0> Parent: ParticleSystem
Element: ID1F56300, Type: FrooxEngine.Slot, World: Nytra World, IsRemoved: False, ParticleSystem (ID1F56300) <T: [6.915436; 1.5411108; 9.346176], R: [0; 0.86747646; 0; 0.4974782], S: [1; 1; 1], IsActive: True, ActiveSelf: True, Started: True, Destroyed: False, Disposed: False, Local: False, RenderableCount: 0> Parent: Root
Element: ID2300, Type: FrooxEngine.Slot, World: Nytra World, IsRemoved: False, Root (ID2300) <T: [0; 0; 0], R: [0; 0; 0; 1], S: [1; 1; 1], IsActive: True, ActiveSelf: True, Started: True, Destroyed: False, Disposed: False, Local: False, RenderableCount: 13> Parent: <null>
Element: ID0, Type: FrooxEngine.World, World: Nytra World, IsRemoved: False

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at void ArrayEditing.ArrayEditor.ArrayChanged(IChangeable changeable) in C:/Users/[REDACTED]/Documents/ResoniteModDev/ResoniteArrayEditing/ArrayEditing/ArrayEditor.cs:line 360
   at void FrooxEngine.SyncElement.SyncElementChanged(IChangeable member)

   at string SyncProxy<System.String System.Environment:get_StackTrace()>(?)
   at void Elements.Core.UniLog.Error(string message, bool stackTrace) in C:/Workspace/Resonite/FrooxEngine/Elements.Core/UniLog.cs:line 78
   at void FrooxEngine.SyncElement.SyncElementChanged(IChangeable member)
   at void FrooxEngine.SyncArray<T>.FinishInternalWrite(int index, int count, bool insert, bool sync)
   at void FrooxEngine.SyncArray<T>.InternalWrite(T element, int index, bool insert, bool sync)
   at void FrooxEngine.SyncArray<T>.Insert(T value, int index)
   at int FrooxEngine.SyncLinear<T>.InsertKey(float time, T value)
   at void FrooxEngine.PhotonDust.AlphaOverLifetimeLinearGradient.SetupAlphaFadeInFadeOut(float fadeIn, float fadeOut, float alpha)
   at void FrooxEngine.PhotonDust.AlphaOverLifetimeLinearGradient.SetupAlphaFadeIn(IButton button, ButtonEventData eventData)
   at void DMD<DMD<>?17618206::FrooxEngine.UIX.Button::OnPressBegin>(?)
   at void SyncProxy<System.Void FrooxEngine.UIX.Button:OnPressBegin(FrooxEngine.UIX.Canvas+InteractionData)>(?)
   at bool FrooxEngine.UIX.InteractionElement.ProcessEvent(InteractionData eventData)
   at bool FrooxEngine.UIX.Canvas.ProcessTouchEvent(in TouchEventInfo eventInfo, List<Predicate<IUIInteractable>> filters)
   at void FrooxEngine.TouchSource.SendTouchEvent(ITouchable touchable, in TouchEventInfo touchInfo)
   at void FrooxEngine.TouchSource.UpdateCurrentTouchable(ITouchable touchable, in float3 point, in float3 direction, in float3 directHitPoint, bool touch)
   at void FrooxEngine.TouchSource.UpdateTouch()
   at void FrooxEngine.InteractionLaser.UpdateLaser(float? maintainDistance, float? overrideSmoothing, InteractionOrigin? overrideOrigin, bool targettingOnly)
   at void FrooxEngine.InteractionHandler.OnInputEvaluate()
   at void FrooxEngine.InputGroup.Update(float deltaTime)
   at void FrooxEngine.InputBindingManager.Update()
   at bool FrooxEngine.World.RefreshStep()
   at bool FrooxEngine.World.Refresh()
   at void FrooxEngine.WorldManager.UpdateStep()
   at bool FrooxEngine.WorldManager.RunUpdateLoop()
   at void FrooxEngine.Engine.UpdateStep()
   at void FrooxEngine.Engine.RunUpdateLoop()
   at void Renderite.Host.GraphicalClientRunner.UpdateLoop() in C:/Workspace/Resonite/FrooxEngine/GraphicalClient/GraphicalClientRunner.cs:line 170
   at void System.Threading.Thread.StartCallback()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions