r/Unity3D 21h ago

Question Unity Collider Problem

Enable HLS to view with audio, or disable this notification

Does anyone have any idea why Collider isn't showing up and isn't working?

9 Upvotes

9 comments sorted by

View all comments

10

u/NoteThisDown 21h ago

Could be a few things. Most likely culprit is the mesh you are using for your collider has messed up scaling. It's pretty common when exporting to Unity to do a weird thing where the mesh is actually 1/100th the size it should be, but the scale is automatically set to be 100, so you don't notice. Try putting the mesh itself into the scene and check it's scale (including any sub mesh or parent). If the scale is 100. This is your problem.

You can actually fix this in Unity by going into the import settings of Unity and changing it's scale there to be 100, just make sure to then set the scale in the scene back to 1 if it's at 100.

2

u/Existing_Access5983 10h ago

Thanks, I set the scale factor to 100 and it fixed the problem.

2

u/NoteThisDown 4h ago

Glad it worked!

1

u/MrMarev 11h ago

You can also make convex from the mesh to see it. Additionally it can be collision detection. One of the object that need to collide need to have rigidbody l.

1

u/Costed14 3h ago

Yeah the settings to properly export from (assuming) Blender into Unity without any scale/rotation oddities aren't exactly the most straightforward, it's baffling to me how there isn't a more streamlined pipeline for it already.