16-04-2019, 09:42 AM
(This post was last modified: 16-04-2019, 09:51 AM by mimarilker.)
(10-04-2019, 04:24 PM)josemendez Wrote: We're aiming to upload to the store next monday, so if everything goes well by the end of next week.
Lots of goodies if you're using granulars, too: rolling contacts w/rolling friction, improved friction model, particle-particle collision callbacks..
Hi,
Thanks for the update! I have imported Obi to a new project and tried to run KarmanVortex scene. However, I got an error with ParticleAdvector.cs
ArgumentNullException: Value cannot be null.
Parameter name: particles
UnityEngine.ParticleSystem.GetParticles (UnityEngine.ParticleSystem+Particle[] particles, System.Int32 size) (at C:/buildslave/unity/build/Runtime/ParticleSystem/ScriptBindings/ParticleSystem.bindings.cs:243)
UnityEngine.ParticleSystem.GetParticles (UnityEngine.ParticleSystem+Particle[] particles) (at C:/buildslave/unity/build/Runtime/ParticleSystem/ScriptBindings/ParticleSystem.bindings.cs:244)
Obi.ParticleAdvector.ReallocateParticles () (at Assets/Obi/Scripts/Emitter/ParticleAdvector.cs:49)
(16-04-2019, 09:42 AM)mimarilker Wrote: Hi,
Thanks for the update! I have imported Obi to a new project and tried to run KarmanVortex scene. However, I got an error with ParticleAdvector.cs
ArgumentNullException: Value cannot be null.
Parameter name: particles
UnityEngine.ParticleSystem.GetParticles (UnityEngine.ParticleSystem+Particle[] particles, System.Int32 size) (at C:/buildslave/unity/build/Runtime/ParticleSystem/ScriptBindings/ParticleSystem.bindings.cs:243)
UnityEngine.ParticleSystem.GetParticles (UnityEngine.ParticleSystem+Particle[] particles) (at C:/buildslave/unity/build/Runtime/ParticleSystem/ScriptBindings/ParticleSystem.bindings.cs:244)
Obi.ParticleAdvector.ReallocateParticles () (at Assets/Obi/Scripts/Emitter/ParticleAdvector.cs:49)
I have compared the older ParticleAdvector.cs with the new one. It seems that Solver_OnStepBegin is not included anymore, ad the line causing the error "alive = ps.GetParticles(particles);" is in the ReallocateParticles() which was in Solver_OnStepBegin, before. Could you please check it out?