Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by nyonge · Sep 22, 2016 at 01:07 AM · colliderscaleboxcolliderwarningnegative

Warning: BoxColliders does not support negative scale or size

Since upgrading to Unity 5.4, I've been continually getting this warning.

My game has a level editor where users can rotate and rescale objects. Allowing a negative scale has always been possible and disabling that would either a) greatly limit user's ability to customize their level, or b) be an enormous amount of work to positively scale/recenter the collider separately from the object.

There doesn't seem to be an actual impact from the warning though. BoxColliders still work as expected, regardless of a negative scale.

My question is, will this ever ACTUALLY affect gameplay, or will BoxColliders still work as expected? If not, is there any way to disable this (very frequent, very irritating) warning?

Thanks!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Sep 30, 2016 at 06:11 PM 0
Share

It is in general not a good idea to use a negative scale for any objects. $$anonymous$$eshes usually get their faces inverted. Do you work with 2d or 3d objects? What kind of objects do we talk about?

4 Replies

· Add your reply
  • Sort: 
avatar image
-1
Best Answer

Answer by V0odo0 · Sep 30, 2016 at 06:00 PM

In my case this causes a mess with physics when dealing with joints. There is no warnings from other type of negatively scaled colliders but also gives strange behavior.

I think it's all be Ok until one of your negatively scaled collider will have joint attached. Except of annoying warning of course.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by xTyler73 · Jun 19, 2017 at 09:40 PM

A way to fix this is to actually set the scale of the object with the box collider that is causing the warning to be negative. The negative of this object combined with the parent object that is negative cancels them out to be positive.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by omarmoh-om · Aug 15, 2017 at 09:12 PM

I answered the same question on:

http://answers.unity3d.com/questions/1228083/box-colliders-and-negative-scales.html?childToView=1394197#answer-1394197

I hope this helps Best,

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Huldor · Mar 29, 2020 at 01:26 AM

It sometimes happens when you duplicate objects in scene, unity does something weird with the box collider.

alt text

Its mostly not the object the Console shows, but the one you interact with.


schermafbeelding-2020-03-29-om-032159.png (20.8 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

67 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to suppress BoxCollider warning 2 Answers

how to scale object to fit inside a room 1 Answer

Colliders, Mesh or Box? 1 Answer

How should I scale an object with collider? 1 Answer

why isn't my OnTriggerEnter2D() function working? 14 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges