Unable to Package, even empty new project

  • BuildCMakeLib.Automation.cs(45,54): error CS1002: ; expected

  • BuildCMakeLib.Automation.cs(45,87): error CS1519: Invalid token ‘(’ in class, struct, or interface member declaration

  • etc etc

  • BuildPhysX.Automation.cs(54,48): error CS1002: ; expected

  • BuildPhysX.Automation.cs(55,46): error CS1001: Identifier expected

  • etc etc

  • AutomationTool exiting with ExitCode=1 (Error_Unknown)

  • I didn’t modified any of those engine files

  • Engine Version: 4.27.2 from Github Source, VS Community 2022

  • A month back, Packing worked without any issues,
    But now not working,
    only difference is VS Community 2019 previously, now VS Community 2022 & PhysX is also new

  • I already tried Engine Rebuild…

  • .Net framework problem
  • different .Net frameworks installed
  • uninstalled all except 4.62, now working…