Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow Exception #9

Open
karsnen opened this issue Aug 9, 2018 · 1 comment
Open

Overflow Exception #9

karsnen opened this issue Aug 9, 2018 · 1 comment

Comments

@karsnen
Copy link

karsnen commented Aug 9, 2018

OverflowException: Value is too large
System.Int32.Parse (System.String s) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:629)
System.Convert.ToInt32 (System.String value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:1270)
FBXImporter.ObjectBuilding () (at Assets/UnityFBXImporter/FBXImporter.cs:388)
FBXImporter.ParseFBX (System.String path) (at Assets/UnityFBXImporter/FBXImporter.cs:192)
MeshManager.findMeshInDesktop () (at Assets/Scripts/FBXImport/MeshManager.cs:39)
MeshManager.Start () (at Assets/Scripts/FBXImport/MeshManager.cs:15)

It is a simple FBX in ASCII format imported from 3DS max 2017

It lacks any hierarchy at all.

@karsnen
Copy link
Author

karsnen commented Aug 9, 2018

Under the switch case Geometry of ObjectBuilding() at FBXImporter.cs 388

impMesh.id = Convert.ToInt32(Utilities.ReadTill(fileCompl, comma, ref iterator).ToString()); //next word should be FBXID, with comma at end

it clogs up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant