Reset Raw UI Image For Audio Spectrum Data
OK I have a very weird kind of thing happening, might be hard to explain so bear with me while I do my best. I have two canvases in a single scene with panels on them, each one has a raw image that displays a spectrum waveform of a audio clip that is playing, now if I switch cameras and temporarily disable that canvas panel that has the raw image displaying the audio spectrum wave and then I return to that camera the raw image has a frozen image of the last waveform and does not update when a new audio clip is played.
Is there a way to fix so that the Raw image resets?
Why do you have two canvases? If you want to disable some UI elements, don't disable them in a canvas, you should place them in a panel, and just disable that. Everything under one canvas. Is there another reason why you have two canvases?
@Firedan1176, Well actually I have 8 canvases in a scene each with their own camera set to see each one on it's own canvas layer.... seemed the only way to solve the scene switching issues I was having with data persistence. But yes it is the panel of each canvas that gets bool disabled when I switch cameras. This issue with the one UI raw image not resetting is the only bug in this type of setup I'm finding so I'm wondering if there is some way to make sure that the UI raw image resets so it does not have the frozen image of the last waveform on it when I reactivate that panel on camera switch back to that canvas.
Your answer
Follow this Question
Related Questions
Change On GUI Texture to a UI Texture Help 1 Answer
What Am I doing Wrong Here 1 Answer
Idle Time Camera Switch 1 Answer