-
Notifications
You must be signed in to change notification settings - Fork 45
TransformControls in scene causes crash when SSR is enabled #10
Comments
Ah okay I see. Well it looks like the control plane's transparency is causing issues which makes it reflect as well. So if you don't want to have reflections for the control plane at all, use the SSREffect's I'll try to look into what's causing your crash. Could you maybe create a demo repo please so that I can replicate the crash quickly? |
here's the demo added "selection" but still crashes |
Thanks, I'll try to look into that in the next few days to see what's causing the issue. |
updated to latest , looks great , fewer reflection glitches transform controls issue still persists page https://optimus007.github.io/SSRTest/ |
Same issue in orbitControls! If i span or rotate whole scene,the crash will exitst and persist until reload the page。 If you can give me some feedback, i will so appreciate it. Thanks! |
can you post a video ? |
I'm also trying to use TransformControls. Instead of a crash, I get this error... Unhandled Runtime Error Call Stack |
@skrichten that's same as the original error |
While testing vanilla js version of Accumulative shadows from R3F Drei basically transformControl's If any other code replaces this material with a temporary shader material or hides any transform control mesh ,it's Easy way to skip it was to find any "isTransformControls" objects and hide them before rendering and prevent material edits from happening on it (works in my case since i traverse the scene to find all the shadow casting meshes anyway) |
Continuing from here #4 (comment)
I've been having these error which could not track down
So i've tried running from the examples folder of this lib, and these is no crash but the behavior seems a stuttery and there's extra reflection from the control plane ?
2022-07-25.17-49-00_Trim.mp4
code i added in main.js
and then i tried with a basic cube and a plane
2022-07-25.17-59-19.mp4
the code i used https://gist.github.com/optimus007/56b49fc4a61a0f31dfcda36dc6a9deea
one big difference is i'm switching between renderer.render and composer.render in this example to toggle the postprocessing
The text was updated successfully, but these errors were encountered: