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
1
Question by theVirtunaut · Feb 06, 2013 at 09:31 PM · buildrendertexturecameras

Simple Protoype works in Unity - Not when Built

Hey, everyone. My teammate and I have been trying to wrap our heads around what's going wrong during the build process, but we can't figure it out. We're just testing a proof of concept, so there aren't many moving pieces:

We attached 18 different cameras to the player. Each one draws to a different render texture that is situated at a different 18th of the screen. We're using the built in Character Motor script and FPS Controller script. On the Player Controller script, we have our variables for the 18 cameras.

When we test the game in unity, everything works perfectly, but, when we try building it, we get a black screen.

Not sure why that would happen on export.

Any advice?

thanks!

Comment
Add comment · Show 6
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 theVirtunaut · Feb 06, 2013 at 09:16 PM 0
Share

also, it's not because we havent added the scene to the build

avatar image Graham-Dunnett ♦♦ · Feb 06, 2013 at 09:37 PM 0
Share

Does the log file give you any more insight into what's happening? The game view in the editor is often small. Are you creating 18 full-screen size render textures and running out of video memory?

avatar image theVirtunaut · Feb 07, 2013 at 01:29 AM 0
Share

log file? are you referring to the console? Nope; the render textures are each taking up just a small portion of the screen. Also, i probably should have noted that the game audio is playing. We have a sound play when the player moves, and it plays when i move around properly. We just have a completely black screen.

avatar image Wolfram · Feb 07, 2013 at 04:01 AM 0
Share

Log file == output_log.txt in the build's _Data directory. Do you create your RenderTextures via script/on the fly, or are they assets?

avatar image theVirtunaut · Feb 07, 2013 at 08:04 AM 0
Share

oh. im on a mac, so i'm just building for macos and being given a .app file. We have our render textures as assets. A script file basically gives them the dimensions of the screen to draw to.

Show more comments

1 Reply

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

Answer by theVirtunaut · Feb 09, 2013 at 04:59 AM

Hello, everyone. I solved it. In case anyone runs into the same or a simular problem, i'll share what was going on:

So, what i'd had was a multicamera set up, with EACH (every) camera drawing to a render texture displaying in the GUI. I still dont know the exact REASON, but, apparently, Unity doesnt like when there is no normal camera - one not drawing to a render texture.

What i had to do was just add an extra dummy cam to the player character. I then just masked all game objects from its view. It's basically my avatar's equivalent of the human appendix.

just thought i'd share.

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 Bergqie · Mar 01, 2015 at 08:47 PM 0
Share

Can you please explain to me how you did this? $$anonymous$$y partner and I have a competition soon and it seems to work on our $$anonymous$$ain $$anonymous$$enu, but we're confused on every other scene. Thank you.

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

11 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

Related Questions

Distribute terrain in zones 3 Answers

One RenderTexture to multiple cameras and OnPostRender problem 0 Answers

ARfoundation (unity 2019.1) black screen (samsangGalaxy S7) 2 Answers

Making the render texture blend in with its environment 0 Answers

How can i active again a render texture after set it to null ? 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