loading scene changes "static int" values by itself

well… i’ve posted this on “answers” but no one seems to know… is a verry weird problem
i think it’s something about unity itself…
the problem is that… when i load a scene with a script it changes my static int values
in my secound scene i don’t have nothing in my hierarchy…

well … i’ll not explain this again, here you have the link for the problem…

It’s very likely to be a scripting issue, not an editor issue. Also, your Enemy is adding some points to the score in OnDestroy(), which would be called when the level containing your enemies is unloaded.

so… when unity loads a level, destroys every enemy on the hierarchy?
i was thinking about this problem for like 3 days… even asked on unity answers… google know’s nothing about this, no one had the same problem, and no one could help me
Thank’s a lot dude…
it was this, i let the scene open and run son enemy couldn’t catch me, and when i had 20 enemyes let them kill me… and guess what, you were right… on scene 2 i had 20 score…

thank’s again.