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

game doesn't "compile" the defaulted assets #137

Open
BielBdeLuna opened this issue Jul 16, 2017 · 0 comments
Open

game doesn't "compile" the defaulted assets #137

BielBdeLuna opened this issue Jul 16, 2017 · 0 comments

Comments

@BielBdeLuna
Copy link
Member

BielBdeLuna commented Jul 16, 2017

when parsing decl files, you can fail to specify correct assets or non-existing assets, in that case the engine tries to open it and, in not finding them, it tries to open a default option.
This usually fails with the following message:


ERROR: Attempted to load material decl 'lights/defaultpointlight' from game thread!


the asset itself exists, but it wasn't compiled for that entity, it wasn't parsed before the game code calls it, so the engine fails, it could be wise to round up a core set of assets an force the engine to parse them so when the engine calls for them they are already there ( it usually happen with lights ), in case of not finding those core assets then the engine should fail.

this issue is very tough on the developer, because the announced error message doesn't have anything in common with the actual wrong doing in the decl that eventually prompted the error message.

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