Raw Image stopped displaying in scene view

Hi I’m new to Unity and following online tutorials to help build my understanding and develop some simple games via those tutorials. During the current tutorial I have created a simple fade in screen using canvas / raw image and resized the raw image in the rect transform component and stretched it to the full size of the canvas and also changed the background colours etc which all shown correctly in scene view.

I have got to a section in the tutorial which introduced navmesh to navigate a zombie around. The tutorial is several years old so navigation isn’t part of unity standard program and I needed to install AI navigation from the asset store and use navmesh legacy component in order to continue with the tutorial - that seemed to work fine.

The next stage of the tutorial was introducing simple menu screen using the canvas and creating another raw image - this is now just blank and I can only see the outline in scene view if I select the rect tool - when changing background colours nothing shows so I can’t place “buttons” or text on the raw image because I cant see it to work with in.

I checked the previous fade in screen I created and it works as expected when running the game but now it also doesn’t display either when in scene view so I cant visually see anything if I try to amend that.

Is this simply a setting change that may have been amended when I installed navmesh (something like enable / disable component tick box) or is there a menu option or view option in scene view I need to check is ticked or not.

I’ve tried to export / import another “canvas / raw image” prefab from a different project and it imports OK but still doesn’t display in scene view but it does display in game mode

Any help / guidance or workarounds would be most welcome to avoid me abandoning the tutorial

Thanks

Simon

Usually, when doing things like your fade in effect, you’d use Image instead of RawImage. As a rule of thumb, only use RawImage when you know what you’re doing and why.

Also you might want to check the settings of your Canvas. Is it set to Screen Space - Overlay or camera space? That’s a common issue for Canvas elements not showing in game.

Thanks for taking the time to reply. I only used the raw image component purely because I was following an online tutorial which used that, however, I did quickly try to use the image component instead but I may need to read up more on it as I couldn’t figure out how to apply different settings.

As you suggested, I tried changing different canvas settings on the inspector to see if they worked along with upgrading unity to the latest LTS release but none worked, however, the issue wasn’t with the canvas element not showing up in game, because that still works when I run the game, the problem is that I cant see either the raw image or the image component while creating / modifying it in scene view because all I see is the rect tool outline and that stops me adding buttons or text or anything else as I cant see what I’m working with - if that makes sense

But once again thanks for replying.