Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-18739

Entering a seed past a 32bit integer truncates it to be under the 32 bit integer limit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.13.0.1 Beta, 1.12.0.14 Beta, 1.16.100.53 Beta, 1.16.100.52 Beta, 1.16.100.51 Beta, 1.16.100.50 Beta, 1.16.20.54 Beta, 1.16.20.52 Beta, 1.16.20.50 Beta, 1.16.0.68 Beta, 1.16.0.67 Beta, 1.16.0.66 Beta, 1.16.0.64 Beta, 1.16.0.63 Beta, 1.16.0.61 Beta, 1.16.0.60 Beta, 1.16.0.59 Beta, 1.16.0.57 Beta, 1.16.0.58 Beta, 1.16.0.55 Beta, 1.16.0.53 Beta, 1.16.0.51 Beta, 1.15.0.56 Beta, 1.15.0.55 Beta, 1.15.0.54 Beta, 1.15.0.53 Beta, 1.15.0.51 Beta, 1.14.30.51 Beta, 1.14.25.1 Beta, 1.14.2.51 Beta, 1.14.2.50 Beta, 1.14.0.51 Beta, 1.14.0.50 Beta, 1.14.0.4 Beta, 1.14.1.3 Beta, 1.14.0.3 Beta, 1.14.0.2 Beta, 1.14.0.1 Beta, 1.13.0.18 Beta, 1.13.0.17 Beta, 1.13.0.16 Beta, 1.13.0.15 Beta, 1.13.0.6 Beta, 1.13.0.5 Beta, 1.12.0.13 Beta, 1.12.0.11 Beta, 1.12.0.2 Beta, 1.11.0.10 Beta, 1.9.0.0 Beta, 1.4.4.0, 0.16.2, 1.0.0, 1.2.0.2, 1.1.5.0, 1.2.0.9, 1.2.0.11, 1.2.0.15, 1.2.0.18, 1.2.0.22, 1.2.0.25, 1.2.0.31, 1.2.0.81, 1.2.1.1, 1.2.2.3, 1.2.5.0, 1.2.3.6, 1.2.5.12, 1.2.5.15, 1.2.6.2, 1.2.9.1, 1.2.10.1, 1.2.10.2, 1.2.13.5, 1.2.11.4, 1.2.13.6, 1.2.13.10, 1.2.14.2, 1.2.14.3, 1.2.13.54, 1.2.20.1, 1.2.13.60, 1.2.16.3, 1.2.20.2, 1.5.0.0, 1.5.0.1, 1.4.0.5, 1.5.0.4, 1.5.0.7, 1.4.3.0, 1.5.0.10, 1.6.0.1, 1.4.2.0, 1.6.0.5, 1.5.0.14, 1.6.0.6, 1.6.0.8 Beta, 1.6.0.30 Beta, 1.7.0.2 Beta, 1.7.0.3 Beta, 1.7.0.7 Beta, 1.7.0.9 Beta, 1.8.0.8 Beta, 1.8.0.11 Beta, 1.8.0.13 Beta, 1.8.0.10 Beta, 1.8.0.14 Beta, 1.9.0.2 Beta, 1.9.0.3 Beta, 1.10.0.3 Beta, 1.10.0.4 Beta, 1.11.0.1 Beta, 1.11.0.3 Beta, 1.11.0.4 Beta, 1.11.0.7 Beta, 1.12.0.3 Beta, 1.12.0.6 Beta, 1.13.0.4 Beta, 1.13.0.2 Beta, 1.14.1.2 Beta
    • Unconfirmed
    • Windows

      MCPE 1.6.100.60 still uses 32bit seeds, so 1.6.100.60 is still affected.

      When entering a seed integer past 2147483647 or -2147483648, Minecraft changes the seed to be completely different.

      What should happen: Entering a integer up to -9223372036854775808 or 9223372036854775807 should generate a seed with that integer. (example: seed:52968166106)

      This bug is not fixed in MCPE 1.2 and will corrupt a console world's seed transferred to this version from a 64bit integer to a 32bit one.

      What happened instead: Minecraft changes the seed to a completely different value. (seed 52968166106 always returns seed 1428558554)

      This is problematic as PC and Consoles use a 64bit terrain gen and seeds and PE uses only a 32bit. It can change the seed of a console world when it's moved from CE to PE. And an unnecessary additional difference between PC/CE and PE seeds.

      Recreating the bug:

      1. Create a new world

      2. Enter a integer in the seed box past 2147483647 or -2147483648

      3. Generate the world, it doesn't matter whether it's on old or infinite.

      4. Exit the world and then click on "edit world", notice the seed has been changed.

        1. Screenshot (55).png
          Screenshot (55).png
          289 kB
        2. Screenshot (54).png
          Screenshot (54).png
          312 kB
        3. Screenshot (53).png
          Screenshot (53).png
          318 kB
        4. Screenshot (52).png
          Screenshot (52).png
          292 kB
        5. Screenshot (51).png
          Screenshot (51).png
          786 kB
        6. Screenshot (50).png
          Screenshot (50).png
          281 kB
        7. Screenshot (49).png
          Screenshot (49).png
          331 kB
        8. Screenshot (48).png
          Screenshot (48).png
          730 kB
        9. Screenshot (47).png
          Screenshot (47).png
          319 kB

            Delvin4519 Delvin4519
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: