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"

Error updating project from 4.10 to 4.12

I'm getting an error when i changed the engine version that i'm using. I went from 4.10 to 4.12. When i tried to package the project i received this error message.

alt text

Some deprecated warning and then some other stuff that i don't know what is happening. Can someone help out?

Product Version: UE 4.12
errorscreen.png (327.7 kB)
more ▼

asked Jul 11 '16 at 07:01 PM in C++ Programming

avatar image

42 15 16 26

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

3 answers: sort voted first

You've got linker errors because your compiler is unable to match the function declarations in your header file with the function implementations in your cpp file. It's telling you which functions it can't find. You should clean your project and rebuild it, and if the errors are still there, you should look through your source code for the missing function implementations.

The deprecation warnings are detailed in the documentation and the updates have been posted in the forums. Just do a quick search for them.

more ▼

answered Jul 11 '16 at 07:48 PM

avatar image

819 49 29 73

avatar image LuLima Jul 12 '16 at 01:35 AM

So just right clicking on my project pressing clean then build? I'll try doing that, those functions i do not use nor do i ever heard of them. so implementation of some i did not even write? =/

avatar image Slayemin Jul 12 '16 at 02:25 AM

Yeah, that's one method to clean your project. However, be warned that if you built the engine from source, it's going to clean ALL of the projects in the solution. When you rebuild, it's going to recompile everything and it'll take you something like 45-60 minutes to rebuild it all.

What you're really trying to do when you "clean" a project is delete all of the intermediate .OBJ files, which are sort of like partial binary data objects created by the compiler. Usually when you run your project, the compiler is pretty good at figuring out which header files were modified and it recreates only the OBJ files it has marked as "dirty". Sometimes, the compiler messes up and you've got an outdated OBJ file that needs to be rebuilt but it doesn't know it. So, you just ask it to rebuild all of the project OBJ files. Think of it kind of like refreshing the cache on your browser. Anyway, enough background...

The fastest way to clean your OBJ files is to go into your project folder and delete the intermediate folder. Then right click on your .uproject file and select "generate project files", reopen the project in visual studio, then press "F5" or build and you'll be back in business in 2 minutes.

avatar image LuLima Jul 13 '16 at 03:03 PM

Cleaning didn't fix it. I believe they may have changed something with the base class or some parent. I deleted all my behaviour trees and will recreate them from scratch again. I'll mark as solved because the error is not an issue anymore. Thanks guys for all the help! :)

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

Clean up and rebuild your project

more ▼

answered Jul 11 '16 at 07:38 PM

avatar image

222 33 35 49

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

answered Jul 13 '16 at 04:47 PM

avatar image

673 30 33 65

(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