[SOLVED] Cannot read property 'resource'

hello guys , weid situation, it might be im blind but can u see something wrong with this?

Im tryint to instantiate a template and setting it to a new parent but for some reason my code cannot recognize the template asset.

Here is a code, i checked everything but cant seem to find a problem…

And here is the template asset with ID


anything suspicious u found there?
Thanks for your help

The error is not to do with the template asset itself but what is contained in the template resource. Looks like an Entity in the template that has a sound component is referencing an asset that doesn’t exist?


You are absolutely right! Thank you :slight_smile: It was really missing a sound