Issues with integrating object interactibility script with character controller entity scripts

Hello, I’m using the player controller entity asset from the playcanvas’s default assets. I want it so that, whenever the player is near an object and presses the e key, they interact it with. Right now, I just want the InteractibleObject script I attached to my makre to just fire out an event with the marker’s object type when the player interacts with it just to make sure it’s working properly. My assumption is that I need to find the player by tag and measure the distance between the object and the player’s position whenever the player presses it. If it’s within the radius I set, then fire the event.

Whenever I launch the game, the InteractableObject script can’t seem to find the player at all. I’ve made sure the Player entity has the Player tag and have tried find by name but it still doesn’t work. I’ve also tried having it find other entities within the scene but no go. What’s going on here?

https://playcanvas.com/project/1360797/overview/object-interaction-test

Edit - The issue is partly solved. Seems to run fine on google but not firefox which is the main browser I use.

Hi @BattyVanBitten!

The project is currently unavailable.

Maybe it’s a private project?