Godot: Property value saved as 1000000 is loaded as 106.

Created on 11 Jul 2017  路  6Comments  路  Source: godotengine/godot

Operating system or device - Godot version:
Antergos x86_64 - Godot master branch

Issue description:

| Saving | 1000000 (1e+6) | 10000000 (1e+7) | 1234567 | "1e+06".to_int() | "1e+06".to_float()
| - | - | - | - | - | - |
| Loading | 106 | 107 | 1234570 | 106 | 1000000

This doesn't affect exported var.

Steps to reproduce:

  1. New node with number property
  2. Set that property larger than 1000000
  3. Save, close, reload scene
bug core

All 6 comments

Let me have a look...

@RandomShaper any luck?

Oh, this one got buried in my backlog. Giving it top priority now.

@RandomShaper can this one be closed?

@reduz Only if #10520 gets merged :)

apologies, i thought i had merged it already

Was this page helpful?
0 / 5 - 0 ratings