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 BrianS. · Jun 21, 2013 at 08:35 PM · movietextureprojectormovie

Projector with Movie Texture only sometimes works?

I'm afraid I don't have time to make a 'demo' scene, so I'll try and explain what is happening. I'll try not to be too wordy.. bare with me.

First I have a movie file, When I click it in the project, I get the inspector for the movie. The preview comes up BLACK untill I click the play button. when I click the play button it plays. Good.

Now if create a plane, and drop that movie texture on the plane, along with a script to play the movie (sets loop to true, clamps the texture, and plays) I do NOT see the texture on the plane (it's just black) until I go to the movie in the project, and PLAY the preview, THEN go back to the project, and magically the plane gets a frame from the movie texture. I mention all this, because maybe it's part of the problem? For the record, I'm running Unity 4.1.5f1.

So now for the problem. I have created a projector I want to use to play the movie. The projector (Blob Light Projector from Standard Assets) has the movie play script, it has the movie in the texture, and also has the movie in the Cookie part of the Blob Light. Again, just like the plane, I don't see anything, untill I click the movie in the project, press play on the preview, then click back on the project and 'poof' I can suddenly see 1 frame of the movie being shined on to stuff by the projector.

This process feels wrong, but if it works.. whatever. Well, my movie coming from my projector seems very 'touchy' meaning, sometimes it seems to work, and sometimes it does not. And I can't seem to put my finger on why it does not work. For example, right now I 'see' the first frame shining on the objects from the projector. It looks great. I see it in the Scene, AND in the game window. But when I Press PLAY on the game, it disappears. And it never shows in the game. It WAS working just a day ago, but has suddenly stopped. What bugs me, is I see it in the Scene and game when it's NOT playing, but when I play the game, it stops.

Anyone else experience this? Find a 100% way to get the projector video to play? Is anyone else experiencing this with the texture not being seen till you click play on the movie, and then go back to the Project?

ANY help or suggestions would be appreciated. I have read all the similar projector questions, but haven't seen anyone mention this issue.

Edit: So the plot thickens in this mystery. When I deleted my 'test plane' with the texture on it (it's how I made sure my movie imported and played correctly) my projector stopped working. So I re-added a 'test plane' with the movie playing, and suddenly my projector is working again.

Here is the script attached to my Plane, and my projector public MovieTexture movTexture; // Use this for initialization void Start () { renderer.material.mainTexture = movTexture; movTexture.loop = true; movTexture.Play(); }

Maybe I'm doing something wrong, or missing something there? It's about as simple as I thought I could make it.

Open for suggestions.

Thanks!

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

15 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

Related Questions

How stocked the video in full screen in the background? 0 Answers

Movie Textures not working - "Not ready to play" (Unity Pro) 0 Answers

Problem streaming large movie 1 Answer

Movies on Android. Is it possible? 2 Answers

Big problem with mobile movies 5 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