Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 uanmanarmy · Apr 20, 2014 at 11:31 AM · lagcamera viewportcamera.render

Second Camera Makes Scene To lag

Hi to all.

I am facing a hard problem and I am not sure why by adding a second camera to my scene It will make my Scene to lag so HARD!! .

I am using it for rendering to texture, and the rendering will be displayed on a big TV.

But I checked and even if I am just adding the camera without any behaviours attached or any script it still lags .

PLEASE I need your helllpp!!

Comment
Add comment · Show 2
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 Eluate · Apr 20, 2014 at 12:24 PM 0
Share

If you attach the second camera, it will basically double the resources needed to view the rendered texture.

avatar image uanmanarmy · Apr 20, 2014 at 12:51 PM 0
Share

But As I told Above, even without render to texture it also lagging

2 Replies

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

Answer by Clonkex · Apr 20, 2014 at 01:55 PM

The framerate is dropping when you add a second camera, right? Even if you don't do any render-to-texture? That's because even if you don't do render-to-texture, the camera is still rendering in the background. It may render over the top of the main camera, in which case the main camera is hidden but still rendering, or it may render beneath the main camera, in which case you will see no visual change when you add the camera but the performance will still drop.

Unfortunately, there's very few ways (if any) of helping in this situation. Probably your computer is not powerful enough to render both cameras smoothly, or your scene may be overly complex.

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 uanmanarmy · Apr 20, 2014 at 05:11 PM 0
Share

Yes, that might be a problem, thankx mate

avatar image Clonkex · Apr 21, 2014 at 12:31 AM 0
Share

No problem :)

avatar image Clonkex · Apr 21, 2014 at 12:52 AM 0
Share

@uanmanarmy If you still want to use render-to-texture, you could try lowering the resolution of the texture it's rendering to. Or, if the scene you're displaying on the TV is going to be the same every time (not like a realtime security feed or something), you could prerender the movie and display that on the TV.

avatar image
1

Answer by $$anonymous$$ · Apr 20, 2014 at 12:49 PM

so the only way is remove this rendering texture and search for other textures or review the script smoething most to be wrong.

Comment
Add comment · 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 uanmanarmy · Apr 20, 2014 at 12:51 PM 0
Share

But As I told Above, even without render to texture it also lagging

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

22 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

Related Questions

Unity Animator Input Lag 0 Answers

Game Lags in Unity & after Build 4 Answers

WWW class texture lag and memory usage? HELP 1 Answer

Stuttering and trigger issues after switching player sprite. 1 Answer

Problem with SSL CA cert 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