The crash occurs in following lines of TrainCar.cs:
foreach (var soundSourceID in soundSourceIDs) { OpenAL.alSourcefv(soundSourceID, OpenAL.AL_POSITION, position); OpenAL.alSourcefv(soundSourceID, OpenAL.AL_VELOCITY, Velocity); }
so it could be caused by the fact that the list of soundsources is changed in the Sound process thread.
The crash occurs in following lines of TrainCar.cs:
foreach (var soundSourceID in soundSourceIDs)
OpenAL. alSourcefv( soundSourceID, OpenAL.AL_POSITION, position);
OpenAL. alSourcefv( soundSourceID, OpenAL.AL_VELOCITY, Velocity);
{
}
so it could be caused by the fact that the list of soundsources is changed in the Sound process thread.