WARNING: The following dead asset references could not be repaired:

3 views (last 30 days)
I deleted some inputed FBX models. When I export the scene, it reported that "WARNING: The following dead asset references could not be repaired:". How can I fix these warning information?

Accepted Answer

Philip Knapp
Philip Knapp on 1 Jul 2021
Edited: Philip Knapp on 1 Jul 2021
This is usually caused by missing assets that couldn't be found, but the scene still has prop points, prop curves, prop polygons, or prop spans that refer to that asset.
For this example, I’ll be R2021a Update 3, but any R2021a or newer version should also work.
Using The Same Files That Were Deleted:
If you have the *.rrmeta file for the asset that was removed and the original fbx file, you can add both back into the project’s “Assets” folder. Opening RoadRunner and loading the scene should fix the issue. If you have the scene up already, then to update the in-scene assets you can right click in the library browser and then click on “Update Assets” in the menu that appears.
Updating Or Removing The Props Manually:
If you don’t have the original rrmeta file then we can fix it an alternative way.
RoadRunner automatically tries to find if a file was moved or renamed by looking for the rrmeta file with the same UUID as the previous asset. However, in this case that automatic process has failed and so we need to manually update the objects instead. We have at least a couple options to fix the warning:
  1. Remove all objects that contain a reference to that file.
  2. Update all objects that contain a reference to that file.
Both options have a pretty similar setup but branch at step D below:
A. Create a file with the same name as the one that is missing, in the same location as the original file.
B. Switch to the prop tool that contains the missing asset prop. This is most likely the Prop Point Tool, but may also be the Prop Curve Tool, Prop Polygon Tool, or the Prop Span Tool.
C. Right click on the file in the Library Browser within RoadRunner, then click on “Select in Scene” button in the menu. This will select all props that contain that asset path, even if the model isn’t updated.
D. Now we have the branching decision on whether to update or remove the props.
  1. Removing the prop can be done by pressing “Delete” on your keyboard.
  2. Updating the asset assigned to the prop can be done by dragging the new asset, either the one with the same path or a completely different asset, to the “Prop Style” field within the Attributes Panel.
E. Try exporting again.
If you still have the same warning message for the same asset paths as before, it’s possible that there’s another prop in another prop tool that hasn’t been updated. So repeat the above steps in each prop tool to ensure all objects containing that asset path have been updated.
This can be done for any number of missing assets, including ones that are not FBX files.

More Answers (0)

Tags

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!