#It is crashing like this. The processor
1 messages · Page 1 of 1 (latest)
Hmm, can you try replacing
ProcessorRequirements.AddSubsystemRequirement<UMassSpawnerSubsystem>(EMassFragmentAccess::ReadWrite);
by
EntityQuery.AddSubsystemRequirement<UMassSpawnerSubsystem>(EMassFragmentAccess::ReadWrite);
sure lets give it a try
Also, can you get the subsystem from the query context?
Instead of capturing it and passing it to the lambda function
nop it is the same error
I can't debug it myself right now, but there's a chance this has to be executed in a deferred mass command. If you call SpawnEntities inside the lambda body of a custom mas deferred command do you still get the same error?
looks liek the MassSpawner is a Sync function, not allowed during processing phases, I should use an async / deferred version, but I haven't seen any using an entity config
I need to investigate how to do that, haven't tried that. Will come back when I figure the custom command
yea the command actually works, I wonder if is ok to use it like this
thanks a lot!!