Here’s the error I got when importing the advanced model target database into my Unity project which will be deployed on the Hololens 2.
Couldn’t create a preview for the target [5ax] in dataset [PMC_CNC_Machine]. Check the VuforiaConfiguration if you have the ‘Disable model extraction from databases’ flag enabled.
Here is the version:
Unity 2020.3.44f1
Vuforia 10.22
I don’t know whether the problem is happening on the model itself. Has anyone faced this kind of problem before?
1
This error message indicates that Vuforia is unable to generate a preview image for a specific target ([5ax]) within the dataset ([PMC_CNC_Machine]) during the import process into your Unity project. This could be due to a couple of reasons:
Disabled Model Extraction: As the error suggests, the most likely cause is the "Disable model extraction from databases" flag being enabled in your VuforiaConfiguration. This flag prevents Vuforia from automatically extracting 3D models from the target database, which is necessary for generating previews.
Solution Steps:
Verify Vuforia Configuration:
Open your Unity project.
Go to Edit > Project Settings > Vuforia Configuration.
Ensure that the "Disable model extraction from databases" flag is unchecked.
Save the changes.
Re-import the Target Database:
In the Unity project, navigate to the Assets window.
Locate the target database file ([PMC_CNC_Machine].unitypackage or similar).
Right-click on the file and select "Re-import.
Infinite Fusion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.