Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by entropicjoey1 · Jun 01, 2014 at 11:14 PM · prefabsavelocation

prefab when dragged on scene is not where its saved to be

I instantiate prefabs into the sword hand, and the prefabs saved rotation and position etc is used and it normally works fine, since i have updated to 4.5,now, i.e, when i try to position a sword i save it as prefab, when i drag the prefab back on the scene, its not where i just saved it to be, as it usually would be, ive tried using an empty gameobject as parent and set it up that way, and i have the same problem, and i cant get it to work this is crucial for my game, any one have any ideas whats going on?

Object location, from the original location, i move it and save it to the position seen in the screen shot below

http://answers.unity3d.com/storage/temp/27180-untitled1.png

than when i drag the prefab out its in a different position, as shown below http://answers.unity3d.com/storage/temp/27181-untitled2.png

untitled2.png (379.0 kB)
untitled1.png (351.1 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Maerig · Jun 02, 2014 at 07:07 AM 0
Share

Have you clicked "Apply" ?

avatar image wijesijp · Jun 02, 2014 at 07:55 AM 0
Share

Drag it to Hierarchy window

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by S_Byrnes · Jun 02, 2014 at 11:02 AM

Hi EntropicJoey1, as Wijesijp said in a comment, yes you must drag it into the Hierarchy pane, if you try draging it directly into the scene pane, it changes the x,y,z coordinates to where you dragged it.

If you take it straight to the Hierarchy pane it keeps your coordinates how they where when you made it a prefab.

Hope this helps.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image entropicjoey1 · Jun 02, 2014 at 06:05 PM 0
Share

lol i do hit apply, of course, and i do drag it to the hierarchy, not the scene itself, but i solvedc this issue, i posted this in forums because i thought it was a technical problem and not an answer i could get from here, i solved it by using the pivot/center and local/global options, just clicking them once, no matter what it was on, appeared to have corrected any issue and now they are dropped where i saved them to be =]

http://forum.unity3d.com/threads/dropping-prefab-into-scene-doesnt-appear-in-the-location-i-saved-it.249402/

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do i spawn in a prefab with a x,y,z location? 2 Answers

Instantiating prefab of object like it was in the scene 0 Answers

Accessing Vuforia ARCamera.prefab position from a script 0 Answers

Best method to save states in/for a prefab 0 Answers

How to save a prefab when a button is pressed 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges