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

[DX] Calling ApplyChanges() in Game actor cause Exception #5173

Closed
nkast opened this issue Sep 17, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@nkast
Copy link
Contributor

commented Sep 17, 2016

Seen on W8.1 but probably also an issue on other Windows/DX.

If we call graphics.ApplyChanges() inside the Game constructor it has no effect on XNA and MG 3.5. It was most likely ignored.
With the latest develop build we get an error later inside Initialize()
[System.Runtime.InteropServices.COMException] = {System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.}
message: "DCOMPOSITION_ERROR_WINDOW_ALREADY_COMPOSED\r\n"

nkast added a commit to nkast/MonoGame that referenced this issue Jun 5, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jun 6, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
@nkast

This comment has been minimized.

Copy link
Contributor Author

commented Jun 6, 2017

This is still an issue on W8.1 and W10 store apps.

W8.1 will throw an exception on graphics.ApplyChanges() while on W10 the screen is White, nothing renders. Seems like the SwapChain[Background]Panel is not assigned by the time ApplyChanges()/CreateDevice() is called.

nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jul 11, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jul 15, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Jul 21, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 7, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 11, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 14, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 23, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 24, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 24, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 28, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Aug 30, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 2, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 19, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 20, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 20, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Oct 11, 2017

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 27, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 27, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 27, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 28, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 28, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 28, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 29, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 30, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Nov 30, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Dec 10, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Dec 10, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Dec 10, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Dec 26, 2018

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 10, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 10, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 11, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 11, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 14, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 14, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 14, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 14, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 15, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Feb 15, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Mar 23, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.

nkast added a commit to nkast/MonoGame that referenced this issue Apr 9, 2019

Bugfix: Calling ApplyChanges() in Game actor cause Exception
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.