Describe the bug:
I made a template from folder, which had script pointing to locator, which was not included into the template. Now each time I try to go to that template I got crash.
How do you cause this bug?
go in the game Bullet-Hell ( this is my game in progress, not published, can share with dev if needed)
go to TemplateOfDoom template
jenkins is angry:
EpicAccountId:
Assertion failed: false [File:C:/Jenkins/0/patch/Game/Source/ProjectZero/PZEntityRef.cpp] [Line: 87] Resolving a template entity from a different template. Context: ProjectileGun (da26642d-7d8a-4cff-9e02-d5acbc2271a8), TemplateSelf: Pistol (733706cf-6ff5-44c1-86aa-99e63009b595), ContextTemplateRoot: ProjectileGun (da26642d-7d8a-4cff-9e02-d5acbc2271a8)
CraytaClient_Win64_Shipping
CraytaClient_Win64_Shipping
CraytaClient_Win64_Shipping
Hmm, can confirm your bug. It crashes immediately when opening the sub-template and crashes after a while when opening the main-template. Basically:
Template A:
>Folder/Entity A
>Folder/Entity B - with a script+property that points on Folder/Entity A
Creating Template B based on Folder/Entity B will lead to that issue. Opening Template B leads to instant crash. Opening Template A and clicking on Folder/Entity B will lead to a delayed crash.
Thanks for the report (and all of the detail!) Iâll get this logged with the team asap and see about any resolutions we can make to the template in your game so you can access it again.
Iâve fixed the cause of the crash, but this wonât be present in the game until the next build is released, so youâll need to be careful about it happening again (itâll happen if you create a new template from an entity in an existing template, if this entity has a property on it that points to an entity in the original template that will not be included in the new one).
I have fixed your TemplateOfDoom template now so you should be able to open that again without it crashing the game. To fix this I needed to clear the value of the âOutputâ property on the script.