- Home /
Import asset and scale factor is set to 1 and cannot be changed?
Hi, I have tried importing multiple 3d objects in .jas, .3ds, .fbx, and none of them will allow me to change the 'Scale Factor' from 1 to say 0.01. I was under the impression also that the default import scale for Unity was 0.01. Any way the objects when imported will allow the other properties to be modified and stick however when changing the scale factor it allows a value to be entered but it is lost after the apply.
Any ideas?
BTW: using Unity 3.1 on MAC OS X 10.6.5
Answer by Jessy · Dec 29, 2010 at 10:58 PM
Thanks Jessy, in the meantime I had come across this article. I discovered that one of the tutorials (CharacterCustomization) I had loaded had put a plugin/Editor/FBXPostProcessor.cs that was fixing the GlobalScale to 1: class FBXPostprocessor : AssetPostprocessor { // This method is called just before importing an FBX. void OnPreprocess$$anonymous$$odel() { $$anonymous$$odelImporter mi = ($$anonymous$$odelImporter)assetImporter; mi.globalScale = 1; if (!assetPath.Contains("/characters/")) return;
Removing this got it all back to normal.
Thanks however.
You should post it as an answer $$anonymous$$eithD. The FBXPostProcessor removal worked for me. Thanks!
$$anonymous$$eithD gave me the answer I was looking for. A quick search in the project gave me a script with :
(assetImporter as $$anonymous$$odelImporter).globalScale = 1f;
Removed the script. Everything is fine now. Thanks !
Your answer
Follow this Question
Related Questions
Exporting large model / plant from navisworks as FBX for importing to Unity 5 Answers
Problem importing .PSD file 2 Answers
How do you change an asset's import settings at creation? 0 Answers
How to import character from Mixamo with animations 1 Answer
Is there a way to increase speed or disable "importing assets" feature? 5 Answers