Hello everyone! I got another smaller build for you, but with a bunch of cleanup!
There's fixes for two PhotonDust issues that popped up after the legacy particle removal, cleaning that up.
Also I spent most of the time narrowing down a hard crash. I found the exact cause and applied a workaround (essentially adding more stack space for tree queries x3) which fixes the current issue, but I'll have to make report to Bepu for a full fix.
The build is compatible with previous, so update at your leisure (or when you are affected by those particular bugs).
Fixes:
- Fixed particle trails sometimes glitching out to a wrong position, causing rendering artifacts (reported by @orange3134, issue #3762)
-- This was done by restructuring how the second segment of trails is calculated - it used to be calculated too early, before the particle itself was simulated - in case it was never updated later on, it would stay in its wrong state
- Fixed particles made with brush tools set to CloneComponent mode disappearing when the brush is deleted (reported by @orange3134, issue #3761)
-- The brush tool now clones the renderer & all particle modules on the style when in this mode
- Fixed exceptions in Color(X)MemberEditor when it's misconfigured and the target field is missing
- Increased maximum tree traversal depth in Bepu physics
-- This fixes hard crash with certain worlds and collider setups (reported by @zangooseoo, @modernballoonie, @scraner, @m7_emmy, @joshtiger, issue #3758)
-- Note that this mostly just "postpones" the issue, it's still possible for the crash to occur with certain setups. Full fix requires more complex changes to Bepu:
