How can I display Vray bakes in Unity 5?

I’m using the Standard shader and want to tile textures and use Vray bakes as a lightmap.

What’s the best way as I don’t want to use Unity’s Baked GI.

Theres a link from “Kuba” in the middle of this thread where you find a script that assigns your Vray bakes into the right place. Still this is all not very artist friendly in my eyes.

Thanks Cascho01, I found that thread earlier and downloaded Jde’s SetLightmapsManually.cs script.

I’m not sure what I was doing but got it working eventually.

Hi,

We have managed to use that script to assign the maps, but when we press play or build the lightmap info is lost.

Any ideas how to keep that lightmap array and index from getting wiped on start and on build?