Search Issue Tracker
Fixed
Fixed in 1.7.8
Votes
0
Found in [Package]
1.7.6
Issue ID
UVSB-2031
Regression
No
Cooldown can not Reset
*Reproducible on:*
* VS version: 1.7.2, 1.7.6
* Unity version: 2021.2.2f1
*Steps to Reproduce:*
# Follow the documentation for the Cooldown node https://docs.unity3d.com/Packages/com.unity.visualscripting@1.7/manual/vs-time.html?_ga=2.13701431.1097783164.1637010359-1031074879.1629214704
# When the user gets to this part "Finally, you can force the cooldown to become ready and reset its internal timer by triggering the Reset port."
# The Trigger Reset port can not make Cooldown ready. And trigger Reset port starts a new cooldown.
{code:java}
private ControlOutput Reset(Flow flow)
{
var data = flow.stack.GetElementData<Data>(this);
data.duration = flow.GetValue<float>(duration);
data.remaining = data.duration;
data.unscaled = flow.GetValue<bool>(unscaledTime);
return null;
}
{code}
*User proposed solution:*
This line,
{code:java}
data.remaing = data.duration
should be
data.remaing = 0f
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadow is jittering when TAA is on, lens shift is enabled and the Camera is at least 800 units away from the origin
- VideoPlayer.loopPointReached invokes twice when WaitForFirstFrame is enabled
- Converting empty groups along with nodes into a subgraph prevents subgraph creation and throws errors
- Information box is pushed up when resizing the Visual Element located in the upper part of UI Document
- Transparent objects cannot receive shadows from Point Light when Rendering Path is set to "Deferred" and there is Spot Light in the Scene
Add comment