17-10-2024, 09:38 AM
(10-10-2024, 10:43 AM)josemendez Wrote: The solution in that thread's last comment won't solve the issue, will only keep the error from logging to the console. The editor won't work properly, since properties are still null. The proper solution to this bug (caused by Unity improperly managing public members when multiple inspectors are open) is to close all secondary inspectors.Hello. I updated from obi 6 to 7 frew days ago, and now i am dealing with setting particles of obi sample trench coat to groups so I can edit their properties' values in the script. And after I added groups and set particles into them I got this UI layout issue again.
This was circumvented in Obi 7.0, as we use Unity's new Stage API instead which doesn't trigger the error.
As you can see, the ui layout of the obi cloth blueprint is messed again.
and this is part of the script that I wrote to set particles.
Code:
coat.ClearParticleGroups();
coat.AppendNewParticleGroup("red");
coat.AppendNewParticleGroup("white");
coat.AppendNewParticleGroup("blue");
as you can see, what I did was just cleaning particle groups, then appending new particle groups in runtime. then I exited playmode, tried to open the blueprint in editor, and got this issue again. I thought it was fixed already in obi 7. Can you tell me what I did wrong?