Interactive 2 player drive test Crashes

2 Computers with Intel(R) Core™ i7-7700K CPU @ 4.20GHz, Ram 64,0 GB, NVIDIA GeForce RTX 3090, Windows 10 64bits, 2 computers running Create

We are testing a interactive “2 player” car simulation, and only one computer runs the simulation, but the other can see the other car driven, but when it tries to drive that vehicle, Create crashes.

Note: if live sync is activated it runs at 10 FPS, if is deactivated runs at 100 FPS, even with live sync deactivated the other Create is able to see the other car move, but is not able to “play” because it crashes.

1 Like

Hi there,
Thanks for the post.
Is the other client trying to drive the car by using the Input Enabled checkbox? Unfortunately, this is not supported at the moment. What, in theory, should work though is if the second client changes USD attributes like Steer Left, Steer Right, Accelerator, Brake etc. (for example, through the Vehicle Controller section in the property window).
If that does not crash, then you could (for now) write a script that operates on those attributes.
The built in control for vehicles is really just to quickly try out created vehicles. Many applications have specific requirements with respect to how they want to control vehicles or handle input devices etc., thus some sort of custom logic will often be written anyway and that logic then maps to the USD attributes mentioned above.

We will create a work item to look into making sure this does not crash and just returns some sort of warning/error message.

Cheers,

Michael

1 Like

Good idea, we should make that work. We do this for our drive simulators, but not for this test example.

1 Like