google-deepmind / google-deepmind/mujoco

The slide property is not rendered in Unity.

Open
#2,165 1 comment 0 reactions 1 assignee Claimed by @Balint-H View on GitHub
bug Unity
Dominant language
C++
Stars
15.2k
Forks
1.8k
Avg merge
10d 16h
Merged PRs (30d)
25

Description

### Intro

hello. I am working on the mujoco project with Unity. This time, I used a slide in the model, but it came out normally in the simulator, but it was not created properly in Unity, so I would like to inquire.

### My setup

3.2.0
Unity 2022.3.4f1

### What's happening? What did you expect?

![376986195-04cf5639-1202-440d-ab07-65627dcee209](https://github.com/user-attachments/assets/a25dd10a-7760-4834-9270-d2e62b229aef)
![376986183-7f3a8b7a-ecf4-4524-ae31-aed45b1264f4](https://github.com/user-attachments/assets/f49a87a2-f899-4b1f-94ca-74d0690a0145)

As shown in the image, the slider is rendered normally in the simulator, but is not rendered in Unity.

### Steps for reproduction

The model was imported using import mujoco scene using the Unity plugin.

### Minimal model for reproduction

I couldn't reveal all the information about the model, so I only wrote some of it.



























































...

### Code required for reproduction

```python
import mujoco
import mediapy as media
model = mujoco.MjModel.from_xml_string(xml)
data = mujoco.MjData(model)

with mujoco.Renderer(model) as renderer:
mujoco.mj_forward(model, data)
renderer.update_scene(data)

media.show_image(renderer.render())
```

### Confirmations

- [X] I searched the [latest documentation](https://mujoco.readthedocs.io/en/latest/overview.html) thoroughly before posting.
- [X] I searched previous [Issues](https://github.com/google-deepmind/mujoco/issues) and [Discussions](https://github.com/google-deepmind/mujoco/discussions), I am certain this has not been raised before.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.