[Linux] "error: use of undeclared identifier 'ExecuteOnPhysicsReadWrite'" on make UE4Editor

Encountering the following error when making EU4Editor. Seems to be caused by this commit (14 hours old at time of posting). Reverting changes to Engine/Source/Runtime/Engine/Private/Components/DestructibleComponent.cpp resolves and allows for successful make.

Building UE4Editor...
Using clang version '3.5.0' (string), 3 (major), 5 (minor), 0 (patch)
/bin/sh  -c '/bin/sh "/home/xxxx/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/FixDependencies.sh" && touch "/home/xxxx/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/UE4Editor.link"'
Performing 142 actions (4 in parallel)
[1/142] Compile Module.Engine.21_of_30.cpp
In file included from /home/xxxx/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/Engine/Module.Engine.21_of_30.cpp:5:
/home/xxxx/UnrealEngine/Engine/Source/Runtime/Engine/Private/Components/**DestructibleComponent.cpp**:1226:2: error: use of undeclared identifier '**ExecuteOnPhysicsReadWrite**'
        ExecuteOnPhysicsReadWrite([&]
        ^
1 error generated.
-------- End Detailed Actions Stats -----------------------------------------------------------
Total build time: 31.75 seconds
Makefile:178: recipe for target 'UE4Editor' failed
make: *** [UE4Editor] Error 5

I take that back, reverting this commit does not seem to fix it. It’s only in the last 20 minutes that I’ve even looked at the source code for Unreal, and I’m a Java programmer, so the cause for this is lost on me. Hopefully this is enough information to help someone more experienced with matters.

Hey mrpendulum-

Which version of the engine are you trying trying to compile that’s having this problem (4.7 branch / promoted / master)? Also have you tried any other versions/branches to see if you get the same error?

Hi ,

It was 4.8

(git clone -b 4.8 https://github.com/EpicGames/UnrealEngine.git)

Error did not occur under 4.7 (I believe master).

There’s a new commit from 9 hours ago which may resolve this. I won’t be able to test this for another 9 hours though. After this, I’ll test and update here.

Compiles fine now (promoted branch). All is good.