Av3boy / Av3boy/SharpEngine

Unable to load shaders by running exe

Offen
#22 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Av3boy Auf GitHub ansehen
bug editor good first issue rendering
Vorherrschende Sprache
C#
Sterne
6
Forks
0
Ø Merge
1 Std. 1 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**Describe the bug**
When running the editor exe by double clicking a `.sharpengine` file the console gets an error within the ui renderer. Essentially it boils down to the shader files not being found.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a `test.sharpengine` file and run the .reg file.
2. Run the file so the editor starts.
3. Error in console about not being able to load shaders.

**Expected behavior**
The shaders should be loaded and everything should work as intended.
TBD: If there is no shader by a given string, should we throw an exception in debug mode or should we just "eat the exception" and show a general error message.

**Additional context**
Checks have been added so the shader will return a boolean and just "eat up" the exception so the application starts.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.