Crash when using GrabPass with uncommon format render target
closed
Dj Lukis․LT
Having camera rendering to a render texture that's not ARGB32 or similar,
the game will crash with "Access Violation" whenever a mesh with "GrabPass" in shader gets into the camera clip range.
* Just having "GrabPass {}" is enough to trigger, explicit type "Texture2D<type>" in following passes does not help
* Affects mostly higher per-pixel resolution formats such as "ARGB float/half/int"
This is the cause for https://vrchat.canny.io/bug-reports/p/portal-camera-crash
Can be mitigated by correct layering in worlds, but dangerous on avatars because of forced "Player" layer.
Especially dangerous in public due to usage of huge meshes with distortion shaders.
Log In
Tupper - VRChat Head of Community
closed
Closing due to age, please make a new post if it is still relevant.
V
VRChat Goblox
is this also the cause for https://vrchat.canny.io/bug-reports/p/camera-pointed-at-avatar-pedestal-causes-vrchat-to-crash ?
Neitri
Also happens in editor.
Just use format it doesn't happen with.
Dj Lukis․LT
This is also holding me back from public release of shader-based particles as noted at the end
EDIT: it's already out