I don’t know if all, but part of his ECS knowledge is not up to date; the API he uses to describe a solution is the one before Esc became ready for production. For example, he uses the GenerateAuthoringComponent instead of baking, but it isn’t the only problem.
I’ll second that. I asked it to implement a basic ECS system to see what API it was using - it was still using SystemBase and Entities.ForEach - while these are still technically supported, they are far from the recommended way to currently do things in ECS. I then specifically asked it to implement the system with ISystem and idiomatic foreach, and it claimed that the previous solution it gave was the most up to date and recommended way. Seems like it may still be referencing 0.17 or 0.50 API, but definitely not 1.0
Hey @Songerk and @JohnnyTurbo!
This is a great observation, we actually haven’t ingested ECS resources yet, but it’s on our list!
Could you both please expand on your use case here and how it would help to have access to this in your day-to-day? Many thanks!
I think it’s safe to say if you want to use ECS you want to use the 1.0 version. If Muse can’t write code for the 1.0 ECS API then it isn’t a useful tool for speeding up coding on a project using ECS. I also think Muse might be a good tool for learning ECS because it seems pretty good at writing explanations of any code you send it and ECS can be hard to learn.
Hey @martina_johannesson!
He could help us by giving feedback on our code. For example, where should we tweak our code to make it more performant? Should we run it on the main thread or on another thread? Or should we use the job system instead?
and for more basic information, teach us the new API And how it changed from the old API in case someone would like to learn from Youtube, and Muse will assist with changing the API for specific scripts.
Show us how we can change the monobehavior system to an ECS system.
And most important, in my opinion, Help us deal with the errors of ECS, because there is a little explanation of how to deal with them.