Reputation: 2060
I created a new Unity 3D project, which uses the new Universal Render Pipeline (using the official project template). I also added the latest version of Vuforia Engine AR and added a Vuforia Model Target Database by importing a .unitypackage
file exported from the Vuforia Developer Portal. Then I added the ARCamera and a Model Target GameObject to the scene.
Now to the problem. When I enable the Universal Render Pipeline under Projects Settings > Graphics by selecting URP-Balanced from the list at Scriptable Render Pipeline Settings, all materials of my model target game object turn pink.
This seems to be a common problem with the Universal Render Pipeline (URP) and I read that you have to change the Shaders that are associated with the Materials that are used on the model. So I looked at my assets browser and went to Resources > VuforiaModels > my_model >Materials and tried to change everything to Universal render Pipeline/Lit
but it still shows as pink.
As this issue reproducibly only affects (new) projects with the Universal Render Pipeline - but not the Built-in Render Pipeline his boils down to a yes/no question to the Vuforia team:
Does the Vuforia Model Target Generator support the Universal Render Pipeline?
Software used:
Note: We were instructed by Vuforia to ask all technical questions first right here, as the Vuforia's classic forum has been retired into read-only mode.
Upvotes: 1
Views: 369
Reputation: 394
From information on the old forum here https://developer.vuforia.com/forum/feature-discussions/other-features/unity-universal-render-pipeline-urp-integration : URP is not officially supported. Some of the shaders in the Vuforia Unity extensions are not compatible with URP.
I would recommend to file a feature request here https://github.com/PTCInc/vuforia-engine
Upvotes: 1