July 29, 2021, 11:20pm
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:
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)
Screenshots / video of bug:
Which platform: PC
Your Crayta username: str-read
Game seen in (including “Hub” or “Editor for XYZ”): Editor for Bullet-Hell
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): always
Version number (found in Help tab in Settings): 0.6.247.106996
Hmm, can confirm your bug. It crashes immediately when opening the sub-template and crashes after a while when opening the main-template. Basically:
>Folder/Entity B - with a script+property that points on Folder/Entity A
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.
July 30, 2021, 7:45am
@str and @Ya_shi_shi
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.
September 8, 2021, 3:27pm