Does int in Unity has limit?

Hello, just wondering if int in Unity has limits like in C where int is 32-bit and value stored in it must be below 2,147,483,647 and if you want more, you have to use long. If not does it have limit like long or bigger?

Yes. Unity uses C# as its scripting language, and C# has very similar limits to C for integral types.

You can find those limits documented here: Integral numeric types | Microsoft Learn.

Thank you, totally forgot about microsoft C# docs

Debug.Log(int.MaxValue);