stride3d / stride3d/stride

Exception thrown during debugging as a means of conditional breakpoint in ContentManager

Open
#1,398 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

**EDIT: FALSE ALARM.

I'm indoctrinated into the belief that "exceptions are bad", and didn't pay attention to the localized code which clearly indicates that this was a "Debugger only" exception intended for Developer notification. So this exception is NON-CRITICAL.

The only thing I'd request is that we NOT throw exceptions (even with Debugger ATtached) for non-bad things like this. As the Animation itself is loading -- but the "_source_clip" suffixed version seems non-essential (everything seems to work without it).**

= IGNORE THE REST BELOW HERE ===

I'm working from GitHub, latest source code, Final push from "Sebastian Gregor", March 31st, 11:18.

I compiled with VS2022 - and ran Game Studio, which starts up fine.

I created an empty project first -- and it went well until I tap on an Animation like "Run" and it gives error:

"The asset 'Animations/Run_source_clip" could not be found.    (same for ALL animations)

(the Mannequin model itself loads up fine though).

So then created another project for the "Top-Down RPG" for Windows. And when it started up, gave this error:

The asset "Audio/FishLampByUlrick-EvensSalies" could not be found.    (similar as above)

=====

So it seems like the latest GitHub code has a critical issue with packaging/using the Assets that are supposed to be automated when you make these Game projects from Game Studio.

image

Note also that for the RPG Demo... despite 2 audio files being missing, it does compile and run -- and seems fine.

But from within GameStudio ,the RPG game also has the same issues as the empty Game -- if you tap on ANY Animation, it waits about 5 seconds, then throws an exception that "The asset "Animations/{animName}_source_clip" could not be found"

image

That exception throws 5 seconds after tapping on the animation in Game Studio:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ContentManager and reproduce the reported behavior in Game Studio using the empty project or Top-Down RPG project, selecting an animation such as Run. Check the debugger-only exception for missing _source_clip and audio assets. Done means confirming the non-critical loading behavior and establishing whether these debugger exceptions should still be raised.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.