Search Issue Tracker

Fixed

Fixed in 1.4.16

Votes

0

Found in [Package]

1.4.15

1.5.1

1.6.0

1.7.3

Issue ID

UVSB-1638

Regression

No

Const are stripped from IL2CPP builds

Package: Visual Scripting

-

STR:

  • Add a Text to a scene (UI/Text)
  • On the Text GameObject add a ScriptMachine a create the graph like in SetText attachment
  • Build and run for IL2CPP

Result:

  • 0 appears in the text

Expected:

  • The PI value should be displayed (3.14...)

OLD : THE PROBLEM DON'T COME FROM GENERIC MATH NODE
-When  using generic math operator with multiple types, the result are not processed like in the editor in a WebGL build. It is pretty hard to find when it won't work in WebGL.-
-Reproducible on:-
-Any version of Bolt + Visual Scripting package, when building on WebGL and possibly on Android.-
-Steps To Reproduce:-

  1. -Open the linked project or remake the graph. [^case_1339231-HateShape_V2-GenericOperators.zip]-

!image-2021-08-11-10-19-22-653.png|width=853,height=369!

  1. -Press play button this is what you should see in WebGL.-

!Bug Operator.gif!

  1. -Build for WebGL and make sure the scene is part of the Build.-

!image-2021-08-11-10-20-30-112.png|width=279,height=270!

  1. -You should now see nothing, but it should behave the same.-
  2. -Replace the operator in your graph to the one that is in the Work group-

!image-2021-08-11-10-25-11-259.png|width=552,height=405!

  1. -Test in editor, object should instantiate.-
  2. -Rebuild for Webgl, now the object instantiate.-

-Actual Results:-
-The rotation of the cube is not working in WebGL, but it is working in the Editor.-

-Expected Results:-
-The Generic operator, should work on all platforms and not only in editor, windows, mac.-

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.