Open
Description
Intro
Hi,
I'm an advanced user
My setup
MuJoCo, python, OSX
What's happening? What did you expect?
Trying to create mj_data using model=None should gracefully fail or throw an error, but hangs forever
Steps for reproduction
Run attached code
Minimal model for reproduction
No model needed
Code required for reproduction
import mujoco
print(
"Trying to create mj_data using model=None. This should gracefully fail or throw an error"
)
mj_data = mujoco.MjData(None)
print("Created mj_data")
Confirmations
- I searched the latest documentation thoroughly before posting.
- I searched previous Issues and Discussions, I am certain this has not been raised before.