Paper 2D Tile Map Component's Tile Map Asset Property won't save

Paper 2D Tile Map Component’s Tile Map Asset Property won’t save with Map Level when Paper 2D Tile Map Component in a Blueprint Actor Class or C++ Actor Class other than PaperTileMapActor. When I close the UE4 Editor, and reopen the level that just saved, the tile map asset property becoms non-exist asset, it is completly black.

I found that PaperTileMapActor has a function

#if WITH_EDITOR
bool APaperTileMapActor::GetReferencedContentObjects(TArray<UObject*>& Objects) const
{
	Super::GetReferencedContentObjects(Objects);

	if (const UObject* Asset = RenderComponent->AdditionalStatObject())
	{
		Objects.Add(const_cast<UObject*>(Asset));
	}
	return true;
}
#endif

RenderComponent is UPaperTileMapComponent.

Is it design decision or a defect that has not been fixed yet?
It is almost impossible to use PaperTileMapComponent in a Blueprint Actor Class.
In C++ Actor class, it is not big problem. Simply add function GetReferencedContentObjects like APaperTileMapActor class will fixes the saving problem.

Hello Henry Read,

Thank your for taking the time to report the issue you are experiencing. I entered this bug into our system UE-15847 which deals with the PaperTileMap as a component within a Blueprint not compiling and saving correctly. It’s priority and importance is still to be determined, but I can add your post as added community interest to try and get the issue fixed a bit sooner.

If you would like to know if the fix made it to an update/hotfix for the engine, please check out our Forum thread labeled Announcements and Releases, which contains all the current and prior releases of the engine and their associated bug fix integration’s and features. If you have any other questions please let me know and I will assist you further.

Cheers,

Hi Guys,

I know it’s been a while but I have just run into the same issue using 4.12.5.

As a work around you can specify a different TileMap for the Paper Tile Map Component on your instance placed in the level to what is set for the Paper Tile Map Component set on your Blueprint class and it will work.

I hope this helps and saves somebody else some time.

Thanks.
This still seems to be an issue in 4.15.1

not corrected in 2018 unreal 4.19

having this issue in 4.20.3 as well

I just ran into this bug too, I am using 5.0.3. Any workaround or fix for this?

If this is the same issue I’m seeing where I can’t save with a tilemap set.

  1. Create a tile map in the content browser
  2. Set that created tile map in the tile map area Paper Tile Map.

Now the map should be savable.

If you want to modify this call the “Make tile map editable” BP. And you can do anything you want with the tile map from there.