devwiki:cpp_unreal

C++ Develop Step Goal

  1. create a C++ project
  2. build and launch the C++ project
  3. package the C++ project into a game
  4. build a blueprint function to process scene objects
    • under tool menu > add new c++ class
  5. control with UI to use the blueprint functions, object gets updated with UI interaction

C++ Develop Problem and Fix

  • when creating C++ project, a popup error: Please verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2022 installation options
    • solution:
      • open vs installer or vs 2022 > tool menu > install tools and option
      • choose
        • develop desktop with c++ and install it
        • game development with c++ and install it
        • .net development

USD in Unreal

  • enable USDImporter plugin
  • to enable runtime, create as c++ project, and in project.Target.cs, add
    GlobalDefinitions.Add("FORCE_ANSI_ALLOCATOR=1");
  • devwiki/cpp_unreal.txt
  • Last modified: 2024/08/03 18:35
  • by ying