[SOLVED] Progress bar issue


We implemented progress bar using this example.

The corresponding error occurs in the console window whenever the progress bar is operated.

I don’t want to see this warning window, is there a solution?

Thank you! :upside_down_face:

Hi @issactoast! It’s caused by line 34 of the ProgressBar script. Everything seems to work fine if you disable the line, so I suggest to do that. Maybe @yaustar can tell in which case the line is needed.

1 Like

I’ve fixed the project for that tutorial to not show that warning and also made PR to update the tutorial text: Fix rect self assignment waring in progress bar tutorial by yaustar · Pull Request #369 · playcanvas/developer.playcanvas.com · GitHub

Also note: That warning will not show in builds as it’s a debug only warning


@Albertos @yaustar
Thank you so much for solving the problem. :upside_down_face: :upside_down_face: :upside_down_face:

1 Like