#Crash while playing Lost River from Crossover Collab
9 messages · Page 1 of 1 (latest)
I dont know if its the same bug, but i crashed again
nope its Izumi's QOL fault
is this the same crash as this #1428417440391626895 message because i thought i fixed that
Ill be honest, i just blindly assumed it was
However something must still be modifying the entitylist in an async manner somehow
as far as i can tell this is the only place in my code that the entitylist is async modified, so if it is my fault i think the problem has to be here somewhere
{
var scene = Engine.Scene;
if( scene != null )
{
if( !scene.Tracker.Entities.TryGetValue(typeof(Tooltip), out var tooltips) )
tooltips = scene.Entities.FindAll<Tooltip>().Cast<Entity>().ToList();
tooltips.ForEach(delegate(Entity entity) { entity.RemoveSelf(); });
var info = tooltipQueue.Dequeue();
scene.Add(new Tooltip(info.Message, info.Duration, info.Position));
}
});```
I agree with you that it seems fine, but something obviously isnt?