EpicSurvivalGame
EpicSurvivalGame copied to clipboard
Unknown issue 4.19
I am able to compile the code with no problem, but when i try to edit the game mode...
Lets say all i did was added one line with 0 code and i get errors... please review images... image one is normal code from github complie works fine.. image two is one line added with tons of errors..how does this happen? I tried reinstalling VS,,, generating project files again...
Can't even guess. But the file you're showing has no errors, the problems are in other files. Maybe fix those errors and see what happens.
2>[Adaptive unity build] Disabling PCH for excluded files. Set bAdaptiveUnityDisablesPCH to false in BuildConfiguration.xml to change this behavior. 2>[Adaptive unity build] Excluded from CyberAddiction unity file: SGameMode.cpp
What is this about?
@skeeta92 add class keyword
class UBehaviorTreeComponent* BehaviorComp;
FORCEINLINE class UBehaviorTreeComponent* GetBehaviorComp() const { return BehaviorComp; }
This helped me. One last thing was to add SWeapon.h header in GameMode.cpp
class UBehaviorTreeComponent* BehaviorComp;
FORCEINLINE class UBehaviorTreeComponent* GetBehaviorComp() const { return BehaviorComp; }
@wisien92 which class do i need to add this?
@skeeta92
SZombieAIController.h - although I experience crashes in PIE on start. Still investigating it though.
This is my crash report of anyone would like to help
https://answers.unrealengine.com/questions/804636/crash-during-pie.html
Edit: There was a hack in SGameMode::Init ... after commentig it out works.
I get the same error. It seems that because I use Git to track the changes of source code, if I modify the code and not commit it, it will report error. But once I commit the code, All are done well.
I found something in UE document: Build Configuration
the configuration of bUseAdaptiveUnityBuild
seems to match this error. But I still don't know how to fix this error……
Hello there,
could you please share the screenshot of the error message.
On Fri, Dec 20, 2019 at 6:59 PM Siven [email protected] wrote:
I get the same error. It seems that because I use Git to track the changes of source code, if I modify the code and not commit it, it will report error. But once I commit the code, All are done well. I found something in UE document: Build Configuration https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/BuildConfiguration/index.html the configuration of bUseAdaptiveUnityBuild seems to match this error. But I still don't know how to fix this error……
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomlooman/EpicSurvivalGameSeries/issues/48?email_source=notifications&email_token=AKSE7O5Z2YBXD3H6Z4SY7XTQZTCETA5CNFSM4FGVYADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHM5NPY#issuecomment-567924415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSE7OZCSEBJ4WGUOHBPICTQZTCETANCNFSM4FGVYADA .
-- Thanks & Regards Pravin
Hello there, could you please share the screenshot of the error message. … On Fri, Dec 20, 2019 at 6:59 PM Siven @.***> wrote: I get the same error. It seems that because I use Git to track the changes of source code, if I modify the code and not commit it, it will report error. But once I commit the code, All are done well. I found something in UE document: Build Configuration https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/BuildConfiguration/index.html the configuration of bUseAdaptiveUnityBuild seems to match this error. But I still don't know how to fix this error…… — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#48?email_source=notifications&email_token=AKSE7O5Z2YBXD3H6Z4SY7XTQZTCETA5CNFSM4FGVYADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHM5NPY#issuecomment-567924415>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSE7OZCSEBJ4WGUOHBPICTQZTCETANCNFSM4FGVYADA . -- Thanks & Regards Pravin
Hello!
Thanks for your reply!
Here is two Log screen shot when archive Android(ETC1) package:
and the error message is:
But I only add a comment after one line in the source code:
The steps I reappear this error:
- I have an UE4.18 project, which can archive Android(ETC1) package and it is well.
- Use git init, add, commit to track source code;
- Modify the code;
- Archive Android(ETC1) package, the error appear.
My environment is: MacOS: 10.14.6 UE4.18 git version: 2.10.2
probably some #include 's are missing... check the output window (*not the error list) to get a detailed overview of the errors.