You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using GD.Randf in a C# script makes HTML build freeze on launch. Removing the script or the GD.Randf call fixes the problem.
Steps to reproduce:
Create a scene and add a script to a node with a script that calls GD.Randf() in the _Ready() function. Something like GD.Print(GD.Randf())
Then export the project to HTML. When the HTML project is run from a web server it starts to load but freezes.
Godot version:
v3.2.2.stable.mono
OS/device including version:
macOS 10.15.4 exporting to HTML
Issue description:
Using GD.Randf in a C# script makes HTML build freeze on launch. Removing the script or the GD.Randf call fixes the problem.
Steps to reproduce:
Create a scene and add a script to a node with a script that calls
GD.Randf()
in the _Ready() function. Something likeGD.Print(GD.Randf())
Then export the project to HTML. When the HTML project is run from a web server it starts to load but freezes.
Minimal reproduction project:
RandfMinReproduction.zip
The text was updated successfully, but these errors were encountered: