World origin not being applied to cached distance fields?


not sure if its a bug or I’m doing something wrong but when I request a new world origin objects stay where they are but the distance field shadows move. So it seems that the world origin shift is not being applied to cached distance fields.

I’ve tried it in editor and in game mode with static or movable objects and the result is always the same. Is it a bug? If yes is there a workaround for it (e.g. clearing the distance field cache)?

Thank you!

It seams that I have found a workaround. By calling scene->UpdatePrimitiveDistanceFieldSceneData_GameThread(component) I’m able to update the distance field.