• 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
Question by C11Beatz · Mar 09, 2014 at 04:26 AM · 3d modelslevel-designvideo game

Extreme Lag

Ok, so I design a little level with SketchUp for my game. I put the 3d model in the game and place my First Person Controller inside. When I run the game I get EXTREME amounts of lag w$$anonymous$$le i'm in side my level. But, When I fall out of it; It does not lag anymore. Pleas Help!

Comment

People who like this

0 Show 0
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

3 Replies

· Add your reply
  • Sort: 
avatar image

Answer by MakeCodeNow · Mar 09, 2014 at 04:29 AM

When you import from sketchup, it probably makes a gigantic mesh with tons of polygons. Unity has no choice but to always render the entire mesh, w$$anonymous$$ch is probably too much for your computer. If you are having Unity generate collision for you, then it could also be that physics is slow. It gets faster when you fall out of world because it can cull away that gigantic mesh.

The solution is to break your scene up into multiple meshes, or export to a format (like fbx) that preserves individual Sketchup objects.

Comment
fifthknotch
GameVortex

People who like this

2 Show 1 · 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 C11Beatz · Mar 15, 2014 at 04:12 AM 0
Share

I do export it as an FBX model, But I still get MAJOR lag.

avatar image

Answer by fifthknotch · Mar 09, 2014 at 04:52 AM

Your problem is as @MakeCodeNow states, but there is more than likely a second issue that is causing your FPS to drop. Sketchup does not export one-sided face by default. Because of t$$anonymous$$s, your model has TWICE the amount of vertices. You can change t$$anonymous$$s in the export settings (I have built models for my games using Sketchup and know my way around it if you need additional help).

Comment

People who like this

0 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 C11Beatz · Mar 09, 2014 at 03:50 PM 0
Share

When I uncheck the "Two Sided Faces" box and export it. My model loads with transparent walls and ceiling, I still get lag too!

avatar image Bunnybomb7670 · Mar 09, 2014 at 04:12 PM 2
Share

Transparent walls and ceilings are caused by incorrectly facing normals, you can notice this with differently coloured faces inside of Sketchup, all the faces should be white, not grey, if they are grey the normal is incorrect and it will render the other side. To fix it, right click the gray faces and choose " Reverse Face " to flip it around.

avatar image fifthknotch · Mar 09, 2014 at 07:49 PM 0
Share

@Bunnybomb7670 is correct. Make sure your faces are facing the correct directions. Also if this didn't solve your problem, there could be many issues. If you have an older computer, it can't render as much within slowing FPS down to noticeable amounts. If you use a lot of GUI elements in your scene, this can effect performance. If your model is HUGE, try @MakeCodeNow 's suggestion. Hope this helps!

avatar image

Answer by J-F · Mar 09, 2014 at 04:38 PM

The problem with google sketchup is that it's not really meant for game modelling.

Sketchup automatically creates 2 faces for a single surface, w$$anonymous$$ch is unnecessary in games.

Maybe you should try other modelling programs or checking the sketchup warehouse for some polygon tools for creating more low poly meshes.

Comment

People who like this

0 Show 6 · 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 Bunnybomb7670 · Mar 09, 2014 at 04:42 PM 0
Share

I recommend Blender as a free alternative which is much better than Sketchup and you can do much more in that program too.

avatar image C11Beatz · Mar 09, 2014 at 07:37 PM 0
Share

I tried blender and I found SketchUp WAY easier. Btw I'm a noob.

avatar image C11Beatz · Mar 09, 2014 at 07:37 PM 0
Share

And Sketchup has the 3D Warehouse

avatar image Bunnybomb7670 · Mar 09, 2014 at 07:45 PM 0
Share

Yeah but, the 3D warehouse is BAD if you want to release you're game and sell it because they are copyrighted pieces of work created by other people.

avatar image fifthknotch · Mar 09, 2014 at 07:52 PM 0
Share

SketchUp is easier to pick up for beginners. I started with SketchUp (and still use it for buildings and such because of the precision it gives you), but you will find that it is lacking in features necessary for game dev. One big feature missing is UV mapping. SketchUp has no support there. Blender, on the other hand, was built for this kind of thing (game dev) and is a great alternative if you are willing to learn a new method of modeling.

Show more comments

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

24 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

Related Questions

Dose anyone have experience with TDTK and MAD Level manager 0 Answers

Scaling models in Unity - Bad practice? 1 Answer

How to add multiple levels? 3 Answers

health using time (playerprefs) 0 Answers

Best practices/tools to create the definitive 3D map (not realistic maps) 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