Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

stop movieTexture leads to game crash

$
0
0
Hi everyone,

code involved :
Code (CSharp):
  1.  
  2.   try
  3.   {
  4.   if (movTex.isPlaying)
  5.   {
  6.   movTex.Stop();
  7.   videoRenderer.material.mainTexture = null;
  8.   videoRenderer.material.color = Color.white;
  9.   }
  10.   }
  11.  
Context of the problem :

I'm making a pinball game where the pinball and the board (scores and videos) are 2 differents unity applications dialing through RPC (.Net inter process communication).
When the ball reaches an element it should load a video. On a specified event it should...

stop movieTexture leads to game crash

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>