Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Sinaki · Jul 05, 2018 at 07:03 PM · errorproject

Are all of the Errors important in a project

Are all of the Errors important in a project?? And are MissingReferenceException Errors important?

Comment
Add comment
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

1 Reply

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

Answer by swanne · Jul 05, 2018 at 07:09 PM

In short, yes. There are 3 types of feedback. Errors, warnings and notifications. Errors are always important. Warnings are sometimes important. Notifications, not so much.

The missing reference error message means that there is a gameObject or script or component etc that you have explicitly designed to use but the game cannot find it.

What is the exact error message you are receiving? Copy and paste it from your console.

Comment
Add comment · Show 5 · 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 Sinaki · Jul 05, 2018 at 07:15 PM 0
Share

$$anonymous$$issingReferenceException: The object of type 'vItemSlot' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Component.GetComponent[RectTransform] () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/ComponentBindings.gen.cs:48) Invector.vItem$$anonymous$$anager.vItemWindow.CreateEquipmentWindow (System.Collections.Generic.List`1 items, Invector.vItem$$anonymous$$anager.OnSubmitSlot onPickUpItemCallBack, Invector.vItem$$anonymous$$anager.OnSelectSlot onSelectSlotCallBack, Boolean destroyAdictionSlots) (at Assets/Invector-3rdPersonController/Item$$anonymous$$anager/Scripts/vItemWindow.cs:75) Invector.vItem$$anonymous$$anager.vItemWindowDisplay.OnEnable () (at Assets/Invector-3rdPersonController/Item$$anonymous$$anager/Scripts/vItemWindowDisplay.cs:25) UnityEngine.GameObject:SetActive(Boolean) Invector.vItem$$anonymous$$anager.vEquipArea:OnSubmitSlot(vItemSlot) (at Assets/Invector-3rdPersonController/Item$$anonymous$$anager/Scripts/vEquipArea.cs:81) Invector.vItem$$anonymous$$anager.vItemSlot:OnPointerClick(PointerEventData) (at Assets/Invector-3rdPersonController/Item$$anonymous$$anager/Scripts/vItemSlot.cs:150) Invector.vItem$$anonymous$$anager.vEquipSlot:OnPointerClick(PointerEventData) (at Assets/Invector-3rdPersonController/Item$$anonymous$$anager/Scripts/vEquipSlot.cs:44) UnityEngine.EventSystems.EventSystem:Update()

avatar image swanne Sinaki · Jul 05, 2018 at 07:28 PM 0
Share

Ok, so a script or object is trying to access the vItemSlot gameObject and it's reporting that the gameObject has been destroyed.

What is that object in your game and does it get destroyed?

avatar image Sinaki · Jul 05, 2018 at 07:37 PM 0
Share

I want when I click on the specific object in the item menu, that object destroy and I write a script for it and I success to destroy that but when I click and open item menu this error appear. is that a important error?

avatar image swanne Sinaki · Jul 05, 2018 at 07:47 PM 0
Share

Yes, that's an important error. Either the menu is looking for the vItemSlot object that has just been destroyed or a script that has been created to do something with it once destroyed is unable to find it. Step through the logic of what happens from game start to error creation. Does it only happen the once when you click on the object? Does it repeatedly report that error. If repeatedly then the source of the error is within an update function or loop. If only once, click again ans see if you get another same message.

avatar image Sinaki · Jul 05, 2018 at 08:03 PM 0
Share

Thanks for helping I solve it

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

116 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 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 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 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 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

I really ned help at startup 0 Answers

I can't import project tiny in Unity 2019 2 Answers

MacOS "Creating Project Folder Failed!" 1 Answer

Unity shows only Unity Package Error 0 Answers

Error transfering my project to Unity 4.0 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