POST EFFECTS ERROR RenderTarget Null

Ey guys, i have a few POST EFFECTS in a library, the work great on my new scenes, but when i apply any one of them to my PLAYER CAMERA, i get this error

Cannot set property ‘renderTarget’ of null

The PLAYER Entity structure is
Player
-Model
–Light
–Avatar
—AvatarModel
-Camera Pivot
–Camera
–CameraFPV
–CameraTarget

Any clues about this? Maybe im doing something wrong, missing a library? is it the camera struture?

Thank a lot again.

Hi @Sasa_Olmedo,

I vaguely remember this error when trying to apply post effects on more than one cameras. As a workaround you can try deleting the post effect queue from your first camera before adding it to the player camera. Though this isn’t a proper fix, would you care adding a bug report about it on the engine repo?

1 Like