Memory optimization

Hello everyone I recently came across an optimization problem. The problem is that for some reason my item Master loads information about the third person character even though I don’t use cast in it. Maybe there’s something I don’t know, so I’m contacting you. I would be very grateful.



The only place where I use cast is in item master but on character and in third person character on item master


This cast in item master

Size map of item master

Size map of TPC

This small part is Item master
изображение

Him actual size in TPC

1 Like

You must have something in your item master that refers to the third person. It doesn’t have to be a case, it can just be an unused variable.

1 Like


unfortunately, this is not a variable.

изображение
Can that take memory?

Full Screen:

The Interface

How interface work in character:

The Structure:

i found that but i also dont have reference about character in thath structure

Can redirector have information about TPC?

1 Like

A redirect only holds path redirection info…

What’s in the macro?

This macro check only controller of pawn

1 Like

Darn. Well, there is something in there, but I can’t find it from here :rofl:

Hi, did you also check all the interface functions in BP_Item_Master? (cause BP_Item_Master references BPI_PickedItems which also references BP_ThirdPersonCharacter, which likely means that one of the interface functions has a variable or input/output of type BP_ThirdPersonCharacter).