Changing materials in realtime
I have a script that just cycles some gameobjects (roughly 20) through different materials on key press.
In the editor the materials change instantaneously and smoothly with no lag. When I do a build and run direct to Rift, any time I change materials there is a 1 second hiccup where the screen freezes. It runs at a constant 75fps before and after switching materials. Anyone know of a workaround that might prevent this?
I thought it could be caching the materials but the lag never changes.
In the editor the materials change instantaneously and smoothly with no lag. When I do a build and run direct to Rift, any time I change materials there is a 1 second hiccup where the screen freezes. It runs at a constant 75fps before and after switching materials. Anyone know of a workaround that might prevent this?
I thought it could be caching the materials but the lag never changes.
