Can't build if using capsule shape

I’m using 3D physics and everything works fine if I create collision object directly in the collection, but if I use game object file and specify capsule shape Defold does not let me build anymore:

/assets/player.go
	Capsule shapes are not supported in 2D physics
1 Like

Wow, and this is while having Physics set to 3D in game.project?!

1 Like

Yes.

1 Like

Any idea @sven?

1 Like

Looks like an error from the Editor pipeline, does it work if you bundle instead of just building?

Just realized that restarting the editor fixes the issue. The error happened when I copied collision object from main.collection into the gameobject file.
Bundling also works, don’t know if it did when the error was showing up.

2 Likes

Up. Have same issue. Copy go with capsule shape to collection file.Can’t build.

    /world/game/go/player/player.collection
    	Capsule shapes are not supported in 2D physics

Restarting editor fixed it.

3 Likes

Same here, saving and restarting is needed when a go with a capsule shape is copied and pasted.

1 Like

Issue on GitHub: https://github.com/defold/defold/issues/5049

2 Likes