Cannot read properties of null (reading 'meshInstances')

I was trying to use a toon shader but I got this error. The scene is debug. project: PlayCanvas 3D HTML5 Game Engine


Your entity is missing a model, that’s why the script is complaining rightfully.

Also if you look around the forum you will find some updated versions of the toon shader effect that work with the render component and latest engine:

1 Like

what model would i use?


were you still going to help?

Users are not always available @EXECUTABLE.

I guess the model you want to have the shader on?

1 Like

but there is no model just a render componet

is there a way to convert an asset to a model?

Maybe the topic below can help you.