Light function crash

When launching our game for Ipad Pro using metal forward rendering backend game crashes instantly. Crash logs says something about: “MTLTextureDescriptorInternal validateWithDevice”
When I remove light function from stationary directional light game works fine. Light function just projects cloud texture to ground and is quite simple. That feature isn’t necessity for mobile but it’s needed for other platforms. Is there way to disallow light functions automatically for mobile platforms.

Hey Jenny Gore,

You can use a ‘Static Bool’ in conjunction with a ‘Feature Level Switch’ node to determine if you are on a high-end device and disable the Light function in that way.

You could also set up your project to have the Quality overrides and use the ‘Quality Switch’ to set the light function to 0.0 on whichever quality to wish it to be disabled.

Cheers,