Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes with "Does not support cloning" #86

Open
BillyMartin1964 opened this issue Aug 28, 2021 · 0 comments
Open

Crashes with "Does not support cloning" #86

BillyMartin1964 opened this issue Aug 28, 2021 · 0 comments

Comments

@BillyMartin1964
Copy link

If one audio file is not yet done playing when another is call, the entire app crashes.

System.NotSupportedException: This IRandomAccessStream does not support the CloneStream method because it requires cloning and this stream does not support cloning.

System.IO
NetFxToWinRtStreamAdapter.ThrowCloningNotSupported (String)
System.IO
NetFxToWinRtStreamAdapter.CloneStream ()
Yatzy.UWP!+0x1b85626
System.Runtime.InteropServices
McgMarshal.ThrowOnExternalCallFailed (Int32, RuntimeTypeHandle)
__Interop
ComCallHelpers.Call (__ComObject, RuntimeTypeHandle, Int32, Void*)
__Interop
ForwardComStubs.Stub_15[TThis] (__ComObject, Int32)
Plugin.SimpleAudioPlayer
SimpleAudioPlayerImplementation.Seek (Double)
Plugin.SimpleAudioPlayer
SimpleAudioPlayerImplementation.DeletePlayer ()
Plugin.SimpleAudioPlayer
SimpleAudioPlayerImplementation.Load (Stream)
Yatzy.ViewModels
GamePlayViewModel.PlaySounds (String)
Yatzy.ViewModels.GamePlayViewModel
d__491.MoveNext ()
System.Runtime.ExceptionServices
ExceptionDispatchInfo.Throw ()
System.Runtime.CompilerServices.AsyncMethodBuilderCore
<>c.b__7_0 (Object)
System
Action`1.Invoke (T)
System.Threading.WinRTSynchronizationContext
Invoker.InvokeCore ()
System.Runtime.InteropServices
McgMarshal.ThrowOnExternalCallFailed (Int32, RuntimeTypeHandle)
__Interop
ComCallHelpers.Call (__ComObject, RuntimeTypeHandle, Int32)
__Interop
ForwardComStubs.Stub_16[TThis] (__ComObject, Int32)
Microsoft.AppCenter.Utils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant