Why cook result is different without changing source uasset

I found the same problem when I wrote some logic in a blueprint, but I don’t know why the logic affected Cook’s results.Is there any solution?