Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Categories
- All Discussions1,524
- General534
- Graphics109
- GPU Computing419
- Mobile141
- Pro Graphics163
- Tools158
In this Discussion
- Hai Loc Lu February 15
- stigrus February 15
Tags in this Discussion
- physx 272
Connect to remote debugger crash in PhysX 3.2
-
In my simulation the connect to remote debugger (connecting to file stream) crash if I try to make the connection after it has been more than 128 actors in the scene. It does not seem to matter how many actors are in the scene at connection time. If more than 128 has been created (an possibly deleted again) I get a crash when connecting.
I did not have this problem in earlier versions.
Is there something important I have forgot to set up, or is this a bug in PhysX 3.2 Beta 2? -
4 Comments sorted by
-
Could you please post your repro here? Which version of PVD is this? Thanks.
-
Attached is a small program that has the error explained above (VS2010 project 32 bit). In the program i have a define NB_SPHERES which control how many actors are created. The program crash at PxExtensionVisualDebugger::connect if number of spheres are more than 128. The connection is created after simulating for a few seconds. If the connection is created before the simulation is started there is no crash.
Put the attached program in the sdk samples folder, and the paths should hopefully be ok.
I am using PVD version 2.0001.1986.9381.
ConnectionProblem.zip6K -
Thanks much for your repro.
The same material is being created every time a sphere is created, which leads to 129 materials are created.
The SDK is currently supporting 128 materials, especially on consoles. Please let us know if you need more than 128 materials on PC. Thanks. -
This fixed the connection problem. I do not need more than 128 unique materials, so this limit should not be a problem for me. Thanks for the help!