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?”
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):