Black Screen on Paper2D

When I use the Launcher or Package my app, all my Paper2D Sprites disappear. They show fine though when running the simulators. To verify that I set up my camera correctly, I threw a 3d geometry in front of it, and was able to see it. I also verified the level was loaded, and I can see print texts.
There were a few issues with Paper 2d in log, so I think they could be related or it could be something to do with lightening I’m suppose to do and don’t know about:

LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:213][ 0]LogConsoleResponse:Display: LogLinker:Warning: CreateExp


ort: Failed to load Outer for resource

‘BodySetup_32’: PaperSprite /Game/BtmBar.BtmBar
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:245][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_32’: PaperSprite

/Game/BtmBar.BtmBarLogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_15’: PaperSprite /Game/Assets/MonsterPlaceholder.MonsterPlaceholder
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:248][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_15’: PaperSprite

/Game/Assets/MonsterPlaceholder.MonsterPlaceholderLogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_12’: PaperSprite

/Game/Assets/BattleBtn.BattleBtn
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:251][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_12’: PaperSprite

/Game/Assets/BattleBtn.BattleBtnLogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Paper2D/DummySpriteTexture’ is not a standard unreal filename or a long

path name. Reason: Path does not start with a valid root. Path must begin with: ‘/Engine/’, ‘/Game/’, ‘/Script/’, or ‘/Temp/’
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:251][ 0]LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Paper2D/DummySpriteTexture’ is not a

standard unreal filename or a long path name. Reason: Path does not start with a valid root. Path must begin with: ‘/Engine/’, ‘/Game/’, ‘/Script/’, or

'/Temp/'LogStreaming:Error: Couldn’t find file for package /Paper2D/DummySpriteTexture requested by async loading code.
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:251][ 0]LogStreaming:Error: Couldn’t find file for package /Paper2D/DummySpriteTexture requested by async loading

code.LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Paper2D/DummySpriteTexture’ is not a standard unreal filename or a long path name. Reason: Path does

not start with a valid root. Path must begin with: ‘/Engine/’, ‘/Game/’, ‘/Script/’, or ‘/Temp/’
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:251][ 0]LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Paper2D/DummySpriteTexture’ is not a

standard unreal filename or a long path name. Reason: Path does not start with a valid root. Path must begin with: ‘/Engine/’, ‘/Game/’, ‘/Script/’, or

'/Temp/'LogMaterial:Warning: FMaterialUniformExpressionTexture had invalid TextureIndex! (0 / 0)
LogPlayLevel:Display: ProjectName: LogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_9’: PaperSprite /Game/TestSprite.TestSprite
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:256][ 0]LogMaterial:Warning: FMaterialUniformExpressionTexture had invalid TextureIndex! (0 / 0)
LogPlayLevel:Display: ProjectName: [2014.07.04-08.02.31:256][ 0]LogLinker:Warning: CreateExport: Failed to load Outer for resource ‘BodySetup_9’: PaperSprite

/Game/TestSprite.TestSpriteLogInit:Display: Game Engine Initialized.

For one, it doesn’t want to look for Paper2d at root, I tried moving the Paper2d materials into my game folder and pointing my sprites to them using material override but that only did so much. Then, there are these ‘BodySetups’, I figured that had to do with physics which I don’t need but I don’t know how to turn it off so these errors don’t show. Can someone help me?

Hi ,

There are two common causes of problems in cooked games in 4.2:

  1. There is a bug in the plugin editor that causes it to write to the Saved dir instead of the Config dir, which means that enabled plugins won’t take effect on cooked builds / other user’s machines if you use source control. This has already been fixed in 4.3, but for now you will have to manually copy the EnabledPlugins lines into your Config\DefaultEngine.ini.
  2. If you have a content only game (no C++ code), then the only runtime plugins that can be used are the ones that were enabled in BaseEngine.ini when UE4Game was initially compiled, as we statically link the enabled plugins into the monolithic executable, and linking only happens when you have C++ code. Since Paper2D is not enabled by default, it won’t work in cooked games in projects without C++ code. To work around (2), you’ll have to add C++ code to your project.

Both of these should be resolved in 4.3, as the plugin explorer bug has been fixed and the Paper2D plugin is enabled by default for 4.3. However, we’re still mulling how to handle the issue in (2) in general, since platforms like iOS don’t support dynamic linked libraries.

Cheers,

I switched to 4.3 preview over the weekend and my issue resolved. My guess is number 1 was the problem, because my app is already code based.

Thanks though!