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
0
Question by bfaliu · Oct 23, 2017 at 09:19 AM · import.obj

Unity .obj import is regrouping sub-objects

Hello everyone,

I have a .obj file representing a map (generated by OSM2World) and containing multiple sub-objects as Bench, Bridges, Buildings... These sub-objects have the following naming convention : ObjectName+index. Here is an abstract from the file :

 ...
 o Building1536
 usemtl BUILDING_DEFAULT_0
 f 67932 67933 67930
 f 67933 67931 67930
 f 67930 67931 67928
 f 67931 67929 67928
 v  -47.185 7.5 280.942
 f 67928 67929 71008
 v  -47.185 0.0 280.942
 f 67929 71009 71008
 f 71008 71009 67932
 f 71009 67933 67932
 usemtl ROOF_DEFAULT_0
 f 67928 67932 67930
 f 71008 67932 67928
 o Building1537
 usemtl BUILDING_DEFAULT_0
 f 65093 65094 65091
 f 65094 65092 65091
 f 65091 65092 65089
 f 65092 65090 65089
 f 65089 65090 63035
 f 65090 63036 63035
 f 63035 63036 63033
 f 63036 63034 63033
 f 63033 63034 65093
 f 63034 65094 65093
 usemtl ROOF_DEFAULT_0
 f 65091 63033 65093
 f 65089 63035 63033
 f 65089 63033 65091
 ...

When I import it in a Unity project, the ObjectNameX sub-objects are "abstracted" as a single "Building" object :

img1

When I open it in Blender, I have the expected result (multiple ObjectNameX objects) :

img2

Any ideas to avoid this behavior ?

Thank you for your help.

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

0 Replies

· Add your reply
  • Sort: 

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

80 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 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

loading mesh from .obj-file by script 1 Answer

Importing Object working in Unity editor, error when running build project 0 Answers

Importing files from disk once a game has been built 1 Answer

Can't assign texture to .obj imported from Blender 1 Answer

Import Material from filepath? 1 Answer


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