Okay so here’s a weird one. (Engine Version: 4.6.1 Official)
In my game, I have a few custom classes. ATile, ATileManager, AChessPiece, AChessPlayerStart, and so forth.
I have levels with a bunch of tiles placed and chess pieces placed on them. Play in Editor? Works great.
If I click “Launch”, I get a few errors in my log for AChessPiece and AChessPlayerStart
“Failed to load Outer for resource ‘BaseBoxComponent’ : ChessPlayerStart (path)”
“Failed to load Outer for resource ‘BaseCapsuleComponent’: ChessPiece (path)”
etc.
Despite the errors, the game launches anyway, and the level is populated by my tiles (placed in editor) but not my chess pieces (also placed in editor). The King chess piece, placed by the player spawn, is also not present in Standalone
After trying to figure out what’s different between the two classes for a little while, recooking the content, and so forth, I tried clicking “Package Content” for Windows x64, Development. When I run the packaged binary, everything works perfect. Again, the packaged game runs just as well as Play In Editor. The problem is solely when clicking “Launch” in editor, or trying to compile without editor from Visual Studio.
I tried deleting Saved folder, Intermediate folder, and regenerating my Visual Studio project files. Same behaviours (PIE works great, Launch doesn’t, did not try repackaging though).
What’s going on? In all cases, nothing crashes. I just don’t have every object spawned.