Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Targeted RHIs Confusion

Stumbled upon this and am hoping to find an answer from the more knowledgeable members of the community. I have a project that is packaged with only DX10 and OpenGL (i.e. SM4) selected as the targeted RHIs. But when I run it it complaints about not finding cooked content for SM5.

I can still run it if I pass -d3d10, -opengl, or -sm4 as the command line argument but it makes little sense. Isn't the engine supposed to figure out the best RHI to invoke when the game starts? What's the point of packaging for multiple RHIs if it doesn't?

My original issue was the game packaged with support for DX11, DX10, and OpenGL RHIs not starting for users with DX11 that doesn't have feature level 10. And forcing the project to only use DX10 and OpenGL is a stupid limitation even if I can make that happen. But I feel like I'm missing some important logic with multiple targeted RHIs. Any advice would be highly appreciated.

Product Version: UE 4.10
more ▼

asked Feb 09 '16 at 08:08 AM in Packaging & Deployment

avatar image

124 2 13 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi bstone -

You are thinking about how it runs backwards. The Project when launched looks at the capabilities of the CPU/GPU it is running on and if your CPU can run SM5, the project tries to run that RHI unless you have given it a command line prompt to not do it. This is the reason that you are getting the message you are seeing now.

As far as the original issue, I would need to know a little more about how you are packaging and what message you are getting when you try to open the packaged project.

Thank You

Eric Ketchum

more ▼

answered Feb 16 '16 at 07:47 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image bstone Feb 17 '16 at 08:33 AM

Hi Eric,

Thanks for getting back to me.

Does it make sense for the engine to run SM5 if the project has been packaged exclusively with SM4 RHIs? I'd say "no" and perhaps that's the source of my confusion.

Originally the message was "DX11 feature level 10.0 is required to run the engine" and the project has been packaged with only DirectX 11 (SM5) and DirectX 10 (SM4) options checked under Platforms - Windows. UE4 v4.10.0. If any other details could help then let me know.

Obviously it would be much better if the engine accounted for the project settings and didn't even try running the SM5 code path if the project was set up exclusively for SM4 RHIs. And even better if the engine could be smarter about the lack of the required DX11 feature level and would fall back to DX10 RHI if the project was set up for both DX11 and DX10 RHIs.

avatar image Lovecraft_K ♦♦ STAFF Feb 17 '16 at 03:31 PM

Hi bstone -

On engine startup, the highest RHI that is supported on the loading computer will always be loaded. I have entered a feature request to allow the engine to check the project settings on targeted hardware settings based on packaging. It should be noted that this would effect the editor as well. I will keep you informed as the engineers look at the feasibility of implementation, for reference UE-27059.

Thank You -

Eric Ketchum

avatar image bstone Feb 18 '16 at 06:04 AM

Hi Eric,

Thanks a lot.

avatar image comete1nioco Sep 30 '17 at 06:41 AM

Hi. Did the engineers find the solution?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question