You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a bug in the asset. Unity will freeze when I stop the app or change scene while the decoder is in INITIALIZING state.
To reproduce it:
Set the Media Path to some random rtsp or rtmp address that are not working
Press play. (ViveMediaDecoder.cs in initDecoderAsync() will enter this while loop untill it will either fail or succeed)
Stop the app while the result is 0 (if step one is followed properly then it will be 0 forever)
Unity will freeze and only a restart of Unity will help.
Solution I found
Make sure you you don't run the StopDecoding() method when the decoder is in INITIALIZING state. To do that remove the =(equls) sign from StopDecoding() method in ViveMediaDecoder.cs. So far I dont see any problems with this solution, if I miss something please let me know.
The text was updated successfully, but these errors were encountered:
There seems to be a bug in the asset. Unity will freeze when I stop the app or change scene while the decoder is in INITIALIZING state.
The text was updated successfully, but these errors were encountered: