Announcement

Collapse
No announcement yet.

Help understanding where exactly the error/problem is

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Help understanding where exactly the error/problem is

    Hello!

    When I package my game all runs perfect (development config). When I execute it I receive this error (BUT THE GAME RUNS FINE).


    Code:
    [2019.10.10-13.28.42:526][108]LogStreaming: Warning: FAsyncPackage::LoadImports for /Game/Actors/TileMaps/BP_TilemapLevelGenerator: Skipping import PaperTileMap /Script/SuperMagbot.Default__SMTilemapLevelGenerator:LevelTilemap.PaperTileMap_0, depends on missing native class
    [2019.10.10-13.28.42:648][113]LogStreaming: Error: ****DumpDependencies [Dependencies]:
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:     Export 31 /Game/Actors/TileMaps/BP_TilemapLevelGenerator.Default__BP_TilemapLevelGenerator_C:LevelTilemap.PaperTileMap_0
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:     Linker is ../../../SuperMagbot/Content/Actors/TileMaps/BP_TilemapLevelGenerator.uasset
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep S_BEFORE_S Export    31    /Game/Actors/TileMaps/BP_TilemapLevelGenerator.Default__BP_TilemapLevelGenerator_C:LevelTilemap     (class PaperTileMapComponent)
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep C_BEFORE_S Import   226   /Script/SuperMagbot.Default__SMTilemapLevelGenerator:LevelTilemap
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep C_BEFORE_S Import   308   /Script/SuperMagbot.Default__SMTilemapLevelGenerator
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep S_BEFORE_C Import   120   /Script/Paper2D.PaperTileMap
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep S_BEFORE_C Import   225   /Script/SuperMagbot.Default__SMTilemapLevelGenerator:LevelTilemap.PaperTileMap_0
    [2019.10.10-13.28.42:648][113]LogStreaming: Error:         Dep C_BEFORE_C Export    31    /Game/Actors/TileMaps/BP_TilemapLevelGenerator.Default__BP_TilemapLevelGenerator_C:LevelTilemap     (class PaperTileMapComponent)
    [2019.10.10-13.28.42:648][113]LogStreaming: Error: Missing Dependency, request for /Script/SuperMagbot.Default__SMTilemapLevelGenerator:LevelTilemap.PaperTileMap_0 but it hasn't been created yet.
    [2019.10.10-13.28.42:648][113]LogStreaming: Error: Cannot construct PaperTileMap_0 in ../../../SuperMagbot/Content/Actors/TileMaps/BP_TilemapLevelGenerator.uasset because we could not find its template /Script/SuperMagbot.Default__SMTilemapLevelGenerator:LevelTilemap.PaperTileMap_0
    Anyone know exactly what is the problem?

    I have an SMTilemapLevelGenerator.h/cpp actor with a UPaperTileMapComponent attached and created in c++ like this:

    Code:
     ASMTilemapLevelGenerator::ASMTilemapLevelGenerator()
      {
          // Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
          PrimaryActorTick.bCanEverTick = true;
          
          m_TileMapCp = CreateDefaultSubobject<UPaperTileMapComponent>(TEXT("LevelTilemap"));
          SetRootComponent(m_TileMapCp);
      }

    Don't know exactly what am I missing?
    Thank you.
Working...
X