mujoco icon indicating copy to clipboard operation
mujoco copied to clipboard

IOException, Error loading the XML, unsigned integer with an option suffix{K, M, G, T, P, E}

Open lzs0603 opened this issue 2 years ago • 4 comments

Hi,

I noticed that for mujoco 2.3.2 and 2.3.3, while simulating the humanoid.xml using the Unity plugin with an intel chip Mac, the below error appeared and system paused. I tried using unityeditor 2021.3.21, 2021.3.1 and 2020.3.46, received the same error. For mujoco 2.3.1 and versions earlier, it seems to work just fine with not problem.

Here is a screenshot for the error: Screen Shot 2023-04-09 at 10 09 48 AM

lzs0603 avatar Apr 09 '23 02:04 lzs0603

Is this a fresh import of an MJCF, or a saved scene? If it's a fresh import, what's the value in the XML of size->memory (if at all)? If it's a saved scene, do you have a MjGlobalSettings component? What's the value in the field Global Sizes->Memory?

erez-tom avatar Apr 19 '23 09:04 erez-tom

Is this a fresh import of an MJCF, or a saved scene? If it's a fresh import, what's the value in the XML of size->memory (if at all)? If it's a saved scene, do you have a MjGlobalSettings component? What's the value in the field Global Sizes->Memory?

I had the same issue. I'm using a fresh import of MJCF humanoid.xml model. The memory is not set in the xml file.

I fixed the issue by setting the Global Sizes->Memory to 2M in the MjGlobalSettings.

gpzhaome avatar Jul 06 '23 16:07 gpzhaome

Is this a fresh import of an MJCF, or a saved scene? If it's a fresh import, what's the value in the XML of size->memory (if at all)? If it's a saved scene, do you have a MjGlobalSettings component? What's the value in the field Global Sizes->Memory?

I had the same issue. I'm using a fresh import of MJCF humanoid.xml model. The memory is not set in the xml file.

I fixed the issue by setting the Global Sizes->Memory to 2M in the MjGlobalSettings.

I met the same issue after importing the example model (humanoid.xml), the Global Sizes->Memory was null.

And I tried to set the Global Sizes->Memory to -1(the default setting) in the Mj Global Settings of Global Settings, it run well. So I think this might be a problem of parameter transmission between the mujoco and the unity.

News0412 avatar Jul 12 '23 09:07 News0412

This issue has since been solved, and can be closed @erez-tom

Balint-H avatar Feb 01 '24 16:02 Balint-H