The D2DCustomEffects's CustomVertexShader (Universal Windows) sample app crashes when debugged.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- computer-graphics
Research direction
Start with the D2DCustomEffects CustomVertexShader universal app and reproduce the crash in Visual Studio 2019 with first-chance exceptions enabled, comparing x64 and x86 debug runs. Inspect the reported Direct2D exception and shader code; done means the sample debugs without crashing. No source file or test is named in the issue.
Written by the indexing model from the issue text.
Description
Hi,
I'm using Visual Studio 2019 latest version (16.5.1), Windows 10 latest version 1909 18363.752, and when I debug (F5) the CustomVertexShader universal app in x64 or x86, it crashes. Note you need to enable all exceptions (including first chance ones) to see the details like below:

It seems to crash in Direct2D (D2D1.dll), but I'm not sure why, other samples in the D2DCustomEffects project are working fine. Maybe the shader code has issue?
When I run it w/o debugging it, it "seems" to run normally.
PS: I've not modified the sample beyond what Visual Studio does to update the project to the latest runtime tooling.
Where's the bug ?
- Dominant language
- JavaScript
- Stars
- 9.7k
- Forks
- 7.8k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/Windows-universal-samples
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
microsoft/Windows-universal-samples#1442 · 6 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
microsoft/Windows-universal-samples#1440 · 3 comments · 1 reaction ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/Windows-universal-samples#1437 · 3 comments ·
All issues in microsoft/Windows-universal-samples
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100