Tutorial Question


#1

Hey everybody I’m new to PlayCanvas and I’m going through this tutorial:

https://developer.playcanvas.com/en/tutorials/keepyup-part-one/

I have forked the game and I have been tweaking it.

https://playcanvas.com/project/555021/overview/test

It has an overlay > UI element and I loaded a random font into that after deleting what was already there, some faint green overlay. after putting in the font the game has been crashing. any one have an idea as to why?

Thanks!


#2

The error gave the message that you were trying to access a null reference which results in a crash. The file and line number it gave was to line 25 of the ui-menu.js.

It looks like you have removed or deleted the entity used for the overlay:

It be worth comparing the project against the Keepy Up game original to see what it used to be.