yvanvds
Member
|
Can't create actor
Hey,
After the latest updates I often get this error when I try to login to my game:
Can't create actor:
Actor::create(Capsule &capsule, Flt density, Vec *center, Bool kinematic);
capsule = Radius: 0.497, Height: 1.003, Pos: 0.000, 0.000, 0.000, Up: 0.000, 1.000, 0.000
density = 1.000
kinematic = 0
Actor Shapes: 1/65536
It happens in multiplayer mode, when trying to create the player's peers. I didn't touch that code for months, and it has never been a problem before.
About 30% of the time, I can enter the game without problems.
Are there any likely causes for this? I did find one post about this same problem in april, but back then it was due to old dll's. And there aren't any new ones at the moment, so that can't be it.
I think the last time I did an update before this one, was on september 20. No problems with that version. (At least no one complained about it)
Thanks,
yvan
(This post was last modified: 10-18-2011 09:01 PM by yvanvds.)
|
|
10-18-2011 08:59 PM |
|
Esenthel
Administrator
|
RE: Can't create actor
are you creating the actor on the main thread? and not inside physics simulation
|
|
10-18-2011 09:06 PM |
|
yvanvds
Member
|
RE: Can't create actor
Yes, I only use a separate thread for sound at the moment. And peer updates happen before Physics.startSimulation().
(This post was last modified: 10-18-2011 11:16 PM by yvanvds.)
|
|
10-18-2011 09:45 PM |
|
Esenthel
Administrator
|
RE: Can't create actor
there wasn't anything changes in capsule based actors creation,
can you check this - http://www.esenthel.com/community/showth...p?tid=2862
does physics sdk tutorials work for you?
does world editor play mode work with capsule actors?
if they do, then it's possible you have some bug in the codes.
|
|
10-20-2011 11:39 AM |
|
yvanvds
Member
|
RE: Can't create actor
Fixed. It seems that the client was reading server data before the backgroundloader was done (and yes, that's another thread).
Strange how this bug never happened before. I must have had it for over 4 months and it never went wrong until now.
But anyway, thanks for helping me out.
|
|
10-20-2011 08:46 PM |
|