Leathium Posted March 9, 2018 Author Share Posted March 9, 2018 Could you please share .world file with brokable object for me? I want to do some tests. Sure, here is the world file of the keyboard, that I have as a backup whenever it messes up after some saves. Gizmo and Veronique 2 Link to comment Share on other sites More sharing options...
Gizmo Posted March 9, 2018 Share Posted March 9, 2018 Thanks! I did not manage to destroy this keyboard and catch the bug, but I believe that the problem is related to accuracy of position values.In the next patch I will increase the accuracy and I ask you to check this bug after the release of 373 patch. Nicci, Niblette, Rodin and 8 others 11 Link to comment Share on other sites More sharing options...
Llavia Posted March 9, 2018 Share Posted March 9, 2018 Now that's a word! ^-^ Thankies Gizmo! Rodin 1 Link to comment Share on other sites More sharing options...
Niblette Posted March 10, 2018 Share Posted March 10, 2018 Thanks! I did not manage to destroy this keyboard and catch the bug, but I believe that the problem is related to accuracy of position values.In the next patch I will increase the accuracy and I ask you to check this bug after the release of 373 patch. It really shows up when the values are short and objects are small, or with the color... I have been using notepad++ with the compare plugin and its quite easy to see the changes. What seems to happen is every time you save it slowly changes the value it really stands out when there are only a few digits like in the example below in which values are two digits long. Rodin, Leathium and Alliehotass 3 Link to comment Share on other sites More sharing options...
Leathium Posted March 10, 2018 Author Share Posted March 10, 2018 Gizmo you should really consider the result Niblette came with. Because it can show clearly there are some digits changing there. Link to comment Share on other sites More sharing options...
Gizmo Posted March 11, 2018 Share Posted March 11, 2018 The reason for the problem was the rounding of very small values. In the next patch this problem will be fixed. Shanti, LukeM, ☙𝔼𝕩❧ and 9 others 12 Link to comment Share on other sites More sharing options...
Leathium Posted March 12, 2018 Author Share Posted March 12, 2018 Omg that would be so great! Thank you Gizmo! Rodin 1 Link to comment Share on other sites More sharing options...
AlexRyder Posted March 12, 2018 Share Posted March 12, 2018 The reason for the problem was the rounding of very small values. In the next patch this problem will be fixed. Right now the values are saved as (int) = (float) * 10000, which introduces a rounding error every time the file is saved/loaded.Why not just write raw float values you get from Unity? Json serializer can read/write them just fine, and you can always code a simple custom serializer if you wish to fix values to a specific precision. Alliehotass and Niblette 2 Link to comment Share on other sites More sharing options...
Gizmo Posted March 12, 2018 Share Posted March 12, 2018 373 patch will save values as float. It will also be able to correctly load the old format. THX, Nikki, AlexRyder and 5 others 8 Link to comment Share on other sites More sharing options...
Leathium Posted March 12, 2018 Author Share Posted March 12, 2018 373 patch will save values as float. It will also be able to correctly load the old format. That's great news! Now I'm hyped! Rodin 1 Link to comment Share on other sites More sharing options...
Heden Posted March 12, 2018 Share Posted March 12, 2018 Link to comment Share on other sites More sharing options...
Alliehotass Posted March 13, 2018 Share Posted March 13, 2018 This is sooopa news, ty Gizmo and everyone that hilped to get this feeexed Leathium 1 Link to comment Share on other sites More sharing options...
AriaReed Posted April 16, 2018 Share Posted April 16, 2018 Right now the values are saved as (int) = (float) * 10000, which introduces a rounding error every time the file is saved/loaded.Why not just write raw float values you get from Unity? Json serializer can read/write them just fine, and you can always code a simple custom serializer if you wish to fix values to a specific precision.a r e y o u s u r e a b o u t t h a t Link to comment Share on other sites More sharing options...
☙𝔼𝕩❧ Posted April 23, 2020 Share Posted April 23, 2020 Glitches are witches. Link to comment Share on other sites More sharing options...
JenC Posted April 25, 2020 Share Posted April 25, 2020 7 hours ago, ArisGabriel said: Everything works fine ... don;t give up it is possible to work with small objects ... maybe you should try again Aris, this is a very old post youre replying to, that bug was fixed a long time ago. Link to comment Share on other sites More sharing options...
MeiLing Posted April 25, 2020 Share Posted April 25, 2020 2 hours ago, JenC said: Aris, this is a very old post youre replying to, that bug was fixed a long time ago. There are variations again, not the position but the angle and even size. You may 179.98° instead of 180 or .998 instead of 1 Rodin 1 Link to comment Share on other sites More sharing options...
Aliviax Posted April 25, 2020 Share Posted April 25, 2020 11 hours ago, MeiLing said: There are variations again, not the position but the angle and even size. You may 179.98° instead of 180 or .998 instead of 1 yup Link to comment Share on other sites More sharing options...
Leathium Posted April 26, 2020 Author Share Posted April 26, 2020 You are talking about a topic that was 2 years ago. I mean seriously, just leave it dead or check the dates of the last posts. Aliviax 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now