x

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"

Runtime error in HelloSlate sample

Hi. I'm new to UE4. I wanna create a new HUD. Firstly i try to follow this tutorial from wiki. I have done all steps without any mistake. The code compiled truly but when i run the code it tries to load a COOKED content from

\Epic Games\4.10\Engine

folder from

GlobalShaderCache-PCD3D_SM5.bin

file. But this file doesn't exist in the installed folder of UE4.10. The raw error when the file not exist is here:

The global shader cache file 'D:/Epic Games/4.10/Engine/GlobalShaderCache-PCD3D_SM5.bin' is missing. Your application is built to load COOKED content. No COOKED content was found; This usually means you didn't cook content for this build. It also may indicate missing cooked data for shader platform (e.g., OpenGL under windows) Make sure your platform's packaging setting include this Targeted RHI. Alternatively build and run the UNCOOKE version instead.

I have searched for this file in the net. I found this. I downloaded and placed these bin files to /Engine folder but the error changed to: alt text When i try to Build under Win64 Development configuration with visual studio.

When i try to compile the project with UE4 Editor i got this error:

Info ERROR: System.IO.FileNotFoundException: Could not find file 'D:\Unreal Projects\HelloSlate\Intermediate\Build\Win64\HelloSlate\Development\UE4Editor-HelloSlate-3593.dll.response'.

I'm a bit confused. I don't know how to build UNCOOKED version. Where is the COOKED content in the code? Mainly which part of the code refers to COOKED content?

Every comment will be appreciated.

Product Version: UE 4.10
Tags:
capture.png (74.9 kB)
more ▼

asked Apr 12 '16 at 05:05 AM in C++ Programming

avatar image

mece1390
35 12 18 19

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

1 answer: sort voted first

After two changes occurred problem solved.

  1. Change game mode in project setting -> maps and modes -> game mode to HelloSlateGameMode! :)) I didn't know to set it manually! :)))

  2. Cook content for windows from File menu! I think this is so clear. If you wanna play your game on windows your content should be cooked clearly! :)))

more ▼

answered Apr 13 '16 at 02:46 PM

avatar image

mece1390
35 12 18 19

(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