Attaching line renderer to same spot on scaled objects

In my current game I have objects that are a set size, and depending on circumstances, these objects transforms are scaled in order to make the object appear bigger vs. providing a graphic for each size. This also helps save on memory.

I have a line renderer that is attached from one object and the other end of the line renderer is attached to the object I mentioned above.

The probably is, when the object is its regular size, the line renderer connects to the object at the right place, however, if I scale the object, the line renderer is no longer positioned correctly.

How can I make the line render always show on the same location of the game object even if it is scalled?

Not sure I completely follow your question but I would try using child object onto your primary objects and attach the line render to that. In this way the child should adjust when the parent expands I would think. Even if this isn’t the case though you could write and attach a script to the child that adjusts its position based off of the parents scale/when the parent scale changes adjust the child’s local space (make sure in code you are only adjusting local position and you should be golden).