tyFlow Forum
Crash with TySelect with Particles - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: Crash with TySelect with Particles (/thread-1191.html)



Crash with TySelect with Particles - BeyondReality.de - 10-11-2019

I've tried a simple scene with TySelect and Particles. But every time Max 2020 crashes.

Steps:
- Build a Torus
- TyFlow with Birth, Position Object (with Torus as object), Random Rotation and Cube Shape
- Add TySelect to torus and change Gizmo in selection list to particles
- Add TyFlow to Particles list

Sometimes it crashed at this point, sometimes after I moved the timeslider.

I've attached the Max file and the minidump of the last crash. I hope this will help.


RE: Crash with TySelect with Particles - tyFlow - 10-11-2019

You're creating an infinite evaluation loop.

You can't have a tySelect referencing the particles on your Torus if your particles are being generated on the Torus...because tyFlow can't import the Torus until its modifier stack has been evaluated, and its modifier stack is dependent on the tyFlow when you add it inside a tySelect.

Create a clone of your first Torus to use with tySelect. Technically it should be warning you when you create a loop like that instead of crashing...I'll look into that.


RE: Crash with TySelect with Particles - BeyondReality.de - 10-14-2019

(10-11-2019, 06:46 PM)tyFlow Wrote: You're creating an infinite evaluation loop.

You can't have a tySelect referencing the particles on your Torus if your particles are being generated on the Torus...because tyFlow can't import the Torus until its modifier stack has been evaluated, and its modifier stack is dependent on the tyFlow when you add it inside a tySelect.

Create a clone of your first Torus to use with tySelect. Technically it should be warning you when you create a loop like that instead of crashing...I'll look into that.

Yes, that make sense. Thanks.