You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a small code reproduction for this bug: reproduction
If a method is called on ToAsync() the CheckIfEntityExists is called in wrong thread -> In the project their are by debug use debug-dlls from altv c# module
[AsyncEntity(typeof(IGamePlayer))]
public partial class GamePlayer : Player, IGamePlayer
{
public void SetModel(uint model) {
this.Model = model;
}
}
public void SetModel(IGamePlayer player) {
player.ToAsync().SetModel(PedModel.FreemodeFemale01);
}
I have created a small code reproduction for this bug: reproduction
If a method is called on ToAsync() the CheckIfEntityExists is called in wrong thread -> In the project their are by debug use debug-dlls from altv c# module
If you test the reproduction follow the steps:
Get IllegalThreadException:
Get no IllegalThreadException:
Next strange behavior:
The text was updated successfully, but these errors were encountered: