EpicSurvivalGame icon indicating copy to clipboard operation
EpicSurvivalGame copied to clipboard

Unknown issue 4.19

Open skeeta92 opened this issue 6 years ago • 9 comments

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...

works1

broke1

skeeta92 avatar Jun 25 '18 02:06 skeeta92

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.

wrzwicky avatar Jun 27 '18 01:06 wrzwicky

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 avatar Jun 27 '18 06:06 skeeta92

@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

wisien92 avatar Jul 01 '18 14:07 wisien92

class UBehaviorTreeComponent* BehaviorComp;

FORCEINLINE class UBehaviorTreeComponent* GetBehaviorComp() const { return BehaviorComp; }

@wisien92 which class do i need to add this?

skeeta92 avatar Jul 02 '18 08:07 skeeta92

@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.

wisien92 avatar Jul 02 '18 08:07 wisien92

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……

SivenZhang avatar Dec 20 '19 13:12 SivenZhang

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

pravin1694 avatar Dec 21 '19 13:12 pravin1694

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: Log2

Log1

and the error message is: error_msg

But I only add a comment after one line in the source code: change_code

The steps I reappear this error:

  1. I have an UE4.18 project, which can archive Android(ETC1) package and it is well.
  2. Use git init, add, commit to track source code;
  3. Modify the code;
  4. Archive Android(ETC1) package, the error appear.

My environment is: MacOS: 10.14.6 UE4.18 git version: 2.10.2

SivenZhang avatar Dec 22 '19 02:12 SivenZhang

probably some #include 's are missing... check the output window (*not the error list) to get a detailed overview of the errors.

roy-sourish avatar Jul 01 '21 10:07 roy-sourish