Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by Mike-B · Aug 18, 2016 at 07:00 AM · meshobj

can't see obj file

Hi

I imported an OBJ file into Unity. When I click on it in the project tab, I can see the wireframe of the mesh in the inspector (although the orientation does not seem right). But when I drag it into the scene, I can't see anything. As you can see from the screenshot, transform is ok; I zoomed in and out, changed the scale. It has mesh renderer and mesh.

What can be the cause of this? thanks alt text

screenshot-8.png (182.4 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by The-Evster · Aug 18, 2016 at 12:53 PM

Export your models as .fbx files instead

Comment
Add comment · Show 3 · 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 Mike-B · Aug 19, 2016 at 04:45 AM 0
Share

Any better option? I receive those files. If I didn't have to convert them that would arrange me. I'll accept the answer if no one has a better one...

avatar image saschandroid Mike-B · Aug 19, 2016 at 06:49 AM 1
Share

Can you see other obj files in your scene?

Double click on the model to zoom to it. If you can see it now, probably the center of the imported obj-file is (very) far off, so it isn't in the center of the scene but "miles" away.

If that is the problem, try

 Vector3 l_center = gameObject.GetComponent<Renderer>().bounds.center;
 transform.position -= new Vector3(l_center.x, l_center.y, l_center.z);

in a script added to your model.

avatar image jhrrsn saschandroid · Mar 27, 2017 at 01:38 PM 0
Share

Thanks for this! You've really saved the day. I have a similar question if you'd like to post the same answer, I'll make sure to mark it.

avatar image
0

Answer by SohailBukhari · Mar 27, 2017 at 02:14 PM

@username

If You are sure that the Import Settings of the object are OK, then common causes for invisibility of object in the scene are

  • would be a scale issue. Try selecting one of your objects in Unity and hit Shift+f to see if anything shows up.

  • If not scaling issue then export your model as .fbx files.

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

57 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

Related Questions

Reimport destroyed .obj file submeshes? 0 Answers

How to export .OBJ from Editor with rescaled mesh? 1 Answer

Empty triangles when loading 3D model with > 65.534 triangles 1 Answer

Modify a mesh- or just a txt file- in real time? 1 Answer

Tool for exporting mesh to stl/obj/fbx in runtime(android) 0 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