I’m having an error while packaging my game, I looked for a solution but found nothing, hopefully, someone can help me.
the error:
PackagingResults: Error: Unable to compile source files.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error
full log
Error.txt (116.7 KB)
3dRaven
(3dRaven)
June 24, 2023, 7:41pm
2
You log file points to the error
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(3,17) : error CS1514: { expected
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(3,17) : error CS1519: Invalid token '-' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(3,29) : error CS1519: Invalid token ':' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(4,1) : error CS1519: Invalid token '{' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(5,12) : error CS1519: Invalid token '-' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(5,17) : error CS1520: Method must have a return type
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(5,43) : error CS1002: ; expected
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(5,56) : error CS1519: Invalid token ')' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(7,8) : error CS1519: Invalid token '=' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(7,25) : error CS1519: Invalid token ';' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(8,23) : error CS1519: Invalid token '(' in class, struct, or interface member declaration
UATHelper: Packaging (Windows (64-bit)): c:\Unreal Projects\SCP-1936\Intermediate\Source\SCP-1936.Target.cs(10,1) : error CS1022: Type or namespace definition, or end-of-file expected
Please post your target file. You probably have invalid syntax (either unclosed brackets or a missing semicolon.
1 Like
I’ve seen it but I didn’t know what it means
I didn’t use any C++ for this project, only blueprints
and I don’t know if it helps but I’ve deleted the Intermediate folder except for the config
3dRaven
(3dRaven)
June 24, 2023, 7:53pm
5
Upload it and I’ll check if the brackets are matching and if it has any syntax errors.
Your target file should be in the source folder not in the intermetiate.
1 Like
i got it to work, one of these two steps fixed it
I remember deleting visual studio a few days ago and I reinstalled it just now
and i also changed the project folder name, one of these steps fixed the issue
thanks for ur help!
FrostyJas
(FrostyJas)
June 25, 2023, 7:35am
7
Greetings @Ghost_Masaki
Were you able to get this issue resolved?
1 Like
FrostyJas
(FrostyJas)
June 28, 2023, 4:36am
9
Excellent! I’m glad that was resolved.
system
(system)
Closed
July 28, 2023, 4:37am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.