cancel
Showing results for 
Search instead for 
Did you mean: 

Lots of issues with setting up MetaXR Acoustic Ray Tracing

weasel47
Heroic Explorer

I just started to incorporate MetaXR Acoustic Ray Tracing into my project and the initial results with a single default material were great!  I'm running into lots of issues when I try to fine-tune it, though...

 

The "Use Colliders" option is leaving out most of my colliders.  It seems that it won't find any mesh collider that's not on the same game object as a mesh filter / mesh renderer (but some were still left out when I tried to compensate for that).

 

I tried to add MetaXRAcousticGeometry components to my prefabs with an editor script, but that isn't possible because of the "Internal" keyword on the class.

 

I tried to add and setup MetaXRAcousticMaterial components on my prefabs, but it seems that the selected material will only stick on a newly-created prefab.  If I try to set the material for a bunch of prefabs in the Project panel, it does not stick.  If I open a prefab in the prefab editor and set it there, it does not stick.  If I set it on an instance of a prefab, it is not seen as an override that can be applied to the prefab.

 

It seems that the MetaXRAcousticMaterial component needs to be on the same object as the MetaXRAcousticGeometry component?  After my initial issue with the Geometry component I was hoping to be able to have one Geometry parent that recognized the materials on lots of prefab children.  When I put Material components on some children of the Geometry object, they didn't seem to be used.

 

If I could have set up Geometry components on my prefabs more easily, it would have been nice to have a way to bake all geometry at once (which would only take a minute or two) besides baking the map (which would take hours).

 

To get around these issues, I might end up writing an editor script that makes copies of meshes in the scene and puts the copies under a few parent objects, sorted by desired material.  Each parent object would have one Geometry and one Material component.

0 REPLIES 0