Improve error granularity when creating resources #8836
Labels
engine
Issues related to the Defold engine
feature request
A suggestion for a new feature
live update
Issue related to the Live Update feature
When working with Live Update it would be really helpful if resource errors has a higher granularity. As it is now, any failure to create a resource (resource.cpp > DoCreateResource) often result in the generic
dmResource::RESULT_FORMAT_ERROR
.Take
res_render_script.cpp
as an example whereResRenderScriptCreate()
will returnRESULT_FORMAT_ERROR
when itdmDDF::LoadMessage
dmGameObject::RegisterSubModules
dmRender::NewRenderScript
(the same kind of scenario exists for res_script.cpp as well).
It would be very helpful if I as a developer knew if it was breaking change in the protobuf format (unlikely) or if my liveupdate archive has a reference to a file that doesn't exist (more likely).
The text was updated successfully, but these errors were encountered: