When first joining, no errors happen and the components mount properly. Upon pressing the button, I get warnings in the console from promises. Here is the entire stack:
Unhandled Promise rejection:
-- Promise.Error(ExecutionError) --
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.helpers:22: Unsupported type: function
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.helpers:22 function getValuesFromType
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.Animation:12 function new
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.SpringValue:27 function new
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.Controller:41 function createSpring
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.Controller:56 function prepareKeys
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.Controller:101 function start
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.hooks.useSprings:132
ReplicatedStorage.rbxts_include.Promise:172 function runExecutor
ReplicatedStorage.rbxts_include.Promise:296
Promise created at:
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.hooks.useSprings:131
ReplicatedStorage.TS.UserInterface.Components.Input.Buttons.BasicButton:30
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact.src.SingleEventManager:80
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact-spring.src.hooks.useSprings:147
ReplicatedStorage.TS.UserInterface.Components.Input.Buttons.BasicButton:30
ReplicatedStorage.rbxts_include.node_modules.@rbxts.roact.src.SingleEventManager:80
When using imperative api, here is my implementation:
In my render:
when activating the button:
When first joining, no errors happen and the components mount properly. Upon pressing the button, I get warnings in the console from promises. Here is the entire stack:
Thanks!