About Store Forum Documentation Contact
Donations:
227$/mo



Post Reply 
PhysX crash
Author Message
AlricDoRei Offline
Member

Post: #1
PhysX crash
Hello.
I am trying to test Esenthel RPG 2 code with my world and got one critical problem. World is big. When I trying to get from one part of the world to another I am getting errors like this:
http://i47.tinypic.com/m1uzq.jpg
If I change D.viewRange(650); to D.viewRange(1650); all parts of the world are in my view range and there are no errors.
06-22-2012 06:14 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: PhysX crash
Hello,

Did you apply any at all modifications to the original source code?

is the phys file from the message box working ok in the model editor?

Edit: I've encountered similar error in latest ERPG2 version, I'll investigate if it's related.
Edit2: after I've used VC++ Rebuild with the latest SDK, the problem went away. Could you try that?
06-23-2012 04:08 PM
Find all posts by this user Quote this message in a reply
AlricDoRei Offline
Member

Post: #3
RE: PhysX crash
There are no problems with physX files in the model editor.
Latest Esenthel SDK for windows + latest Esenthel RPG 2 source:
Here is the another type of error where PhysX body is unknown:
http://i47.tinypic.com/9kt839.png

http://i45.tinypic.com/2mw6xsi.png
You can travel the same world location and don't see any errors.
Every time I see a different error in a different place in the world. It depends on player's location and range of view.

In the Ethenthel RPG code I modified only this line:
SG.New("world/land.world");
06-23-2012 06:56 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: PhysX crash
Thanks, I'm investigating this.
06-23-2012 07:10 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
RE: PhysX crash
can you remove this flag option from InitPre:
APP_AUTO_FREE_PHYS_BODY_HELPER_DATA
and let me know if that helps?


if it helps, then I know what's the problem, I've added some safety checks, and for next SDK you will not need to remove this APP_AUTO_FREE_PHYS_BODY_HELPER_DATA flag
06-23-2012 08:20 PM
Find all posts by this user Quote this message in a reply
AlricDoRei Offline
Member

Post: #6
RE: PhysX crash
You are right. Problem is solved.
06-23-2012 09:07 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #7
RE: PhysX crash
Thanks Esenthel, finally, this issue is solved: http://www.esenthel.com/community/showth...hysx+error
06-24-2012 02:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #8
RE: PhysX crash
thanks for the info! it was indeed multi-threading issue
06-24-2012 02:58 AM
Find all posts by this user Quote this message in a reply
Post Reply