Texture Streaming Causing HUGE issues

I have been experiencing issues regarding the texture streaming in my project. My entire scene view can go black sometimes when i start up the project, and there is a persistent error which i can never solve.

This error is always there in my project (on opening), and i suspect this is what also points to the solution in some way.

“Graphics.CopyTexture could not find source D3D11 texture object. Maybe it is a RenderTexture that is not created yet?”
Screenshot 2024-11-28 160833

Worse yet, is that whenever i build the project and open the .exe, the view is completely black. This happens every time.

Prerequisites:
-I use windows 11, and build for “Windows”-“intel 64-bit”
-I use the HDRP
-My project is 3D, and uses textures
-There is a terrain in my scene

Everything i explained so far, does NOT occur when i uncheck:


And, after a restart, the scene view gets fixed, BUT NOT IN THE BUILD!!!

This is important for me to keep as True because without it, I have huge lag spikes as new textures are loaded in.

Editor True/False:



The build when “Load texture data on demand” = True:


The build DOES WORK, because when I input, i still get the charater to walk, i hear the sounds of the footsteps, i hear the environment, and the strangest of them all, only emissive things show up, such as the gauge on a handheld device, And is in the wrong color, should be green, but its plain white.
Example (look on the left of the image, youll see the gauge):

When i run the build in windows “cmd” with “myFileName.exe -logfile log.txt”, I find this error:

“Graphics.CopyTexture source mipmap size invalid when taking into account its current mipmap limit (0)”

This occurs about 30 times right at the beginning of the file.

I really need help on this, I need to be able to build my game, but removing the setting is not an option, as otherwise stutters are frequent.
I will attach a snippet of the txt to maybe see if the rest can clue us in on whats happening. Without the setting on, the build works perfectly fine and looks normal, but then my performance issues return, the ones which i was trying to get rid of.

log.txt (7.3 KB)

Hope to hear from some people soon, this is really important to me

This all started, when I posted this here (The topic of the post was resolved, unfortunately it broke my builds and gave me the errors previously mentioned):

Hi WishboneGames!

This sounds like a genuine bug. We’ve seen issues with the ‘Load texture data on demand’ before and I would advise to disable that feature. We are fixing some of the issues but we haven’t encountered this one yet. Could you submit a bug report?

Loading texture data on demand can be useful in the Editor when you are working on very large projects with many textures in your scene and you are running out of memory. If you are not out of memory, I would advise to disable the feature (until we have this fixed). Note also that it is a separate feature to Texture Streaming.

This is important for me to keep as True because without it, I have huge lag spikes as new textures are loaded in.
Load texture data on demand is not related to Texture Streaming (Mipmap Streaming). The tooltip is formulated in an unfortunate manner, mentioning ‘streaming’, but it is essentially delaying loading of your Texture assets in the Editor until the first time you need them. This is going to cause spikes in the Editor, that’s by design. But the feature has no impact on performance in the Player. If you want to avoid any spikes when doing Playing sessions in the Editor, you will need to preload your textures with a script or disable the feature.

Thank you for sharing. We would very much welcome a bug report on this so we can get it fixed.

Thank you so much for helping @BartPieters.
Ill be submitting the bug report later today. Thanks for clearing up my confusion about the feature, thats really interesting, and honestly a huge relief, knowing that it does not impact the player at all.
Im up for changing the title of the topic if you have a more accurate suggestion?

Once again thanks so much, I was clearly very misinformed about what this feature actually does.