Problem with Folder Names

So for some reason if I name my folder “GameResources” I can’t use images as e.g. background in a VisualElement. But if I rename it to something like “GameResources_XY” it works! Someone can help because I don’t want to rename lol

How to Reproduce:

  • Create new Project with Unity 2021.3.10f1
  • Create folder with the name GameResources
  • Put an image (in my case it’s a PNG) into the new folder (I called it background)
  • Open UI Builder
  • Create VisualElement
  • Try to set the background of the new VisualElement to the image (e.g. Texture)

Result:

Indeed I can repro. let me log a defect and get back to you with a tracker ID

1 Like

Here’s the link:

Thanks pierre!