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. 

Project upgrade from 4.10.4 to 4.12.5 problem

After upgrading my project I can't properly package it.

 Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for ...; see log ...
 в AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
 в Project.Cook(ProjectParams Params)
 --- Конец трассировки внутреннего стека исключений ---
 в Project.Cook(ProjectParams Params)
 в BuildCookRun.DoBuildCookRun(ProjectParams Params)
 в AutomationTool.BuildCommand.Execute()
 в AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 в AutomationTool.Automation.Process(String[] CommandLine)
 в AutomationTool.Program.MainProc(Object Param)
 в AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 в AutomationTool.Program.Main()
 Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
 copying UAT log files...

There are 2 errors appearing 26 times:

 LogPhysics:Error: PHYSX: (..\..\PhysX\src\NpMaterial.cpp 124) eINVALID_PARAMETER : NpMaterial::setRestitution: Invalid value -10.000000 was clamped to [0,1]!
 LogPhysics:Error: PHYSX: (..\..\PhysX\src\NpMaterial.cpp 124) eINVALID_PARAMETER : NpMaterial::setRestitution: Invalid value -20.000000 was clamped to [0,1]!

What did go wrong?

Product Version: UE 4.12
more ▼

asked Aug 04 '16 at 11:09 AM in Packaging & Deployment

avatar image

28 5 10 14

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

1 answer: sort voted first

Hey Horokey,

The error seems to be related to a material you have named NpMaterial which is using a physical material with a restitution value that is not being accepted?

Try opening the material and fixing those values to be a non-negative number. Then re-save and and do a full rebuild to see if your project packages as expected.

Let me know if you have further questions or need additional assistance.


Andrew Hurley

more ▼

answered Aug 04 '16 at 02:01 PM

avatar image Artisan-H3 Aug 04 '16 at 01:57 PM

I have same error too after my project upgrade from 4.11.2 to 4.12.5 .

avatar image Artisan-H3 Aug 04 '16 at 02:45 PM

I just find out my physical material and physical assets ,and delete it .Fix the bu. it may be the parameter value beyond its default.

avatar image Horokey Aug 05 '16 at 09:49 AM

Yeah, I looked over all phys materials I had and found out, that some of them just had wrong restitution values. Somehow, previous version of UE clamped it succesfully.

avatar image TheFoyer Oct 14 '16 at 06:25 PM

Had this issue after upgrading from 4.11 to 4.12.

One of my Physical Material assets had a Restitution value of 1.1 when it should only allow values 0-1.

(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