- Home /
Help, i can't build my game..!
Hi, i have a problem i was about to build my game finally but then a problem appears to me saying "play is not a member of UnityEngine.Texture'.
And also "isplaying is not a member of UnityEngine.Texture'.
And here is my script i named it DoorPlay to play a short cutscene and when it ends to takes me to another level...
How do i fix this problem i can't build my game now !! .. Help please :( !
Looks like you have several Doorplay classes? Doorplay.js and Doorplay6.js? Your error lies inside Doorplay.js, not Doorplay6.js you are showing us here in your picture.
Yeah i have like 10 doorplay classes , but its all gives me the same issue ..
Answer by chrisall76 · Nov 30, 2013 at 08:57 PM
Try changing your script to work like this and see if it fixes it.
var movTexture : MovieTexture;
function Start () {
renderer.material.mainTexture = movTexture;
movTexture.Play();
}
It didn't work .. , i want that when the cutscene ends it takes me to another scene .. but in that script it doesn't do anything .. :(
Your answer
![](https://koobas.hobune.stream/wayback/20220613123117im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Writing file error - Can't Build to WebPlayer 0 Answers
Random Function Script doesnt seem to work outside of editor 1 Answer
Android - Error building player: Failed to repackage resources? 1 Answer
CommandInvokationFailure: Unable to convert classes into dex format 0 Answers
Android build failed error 1 Answer