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 /
  • Help Room /
avatar image
1
Question by Nakou · Feb 13, 2020 at 02:49 PM · renderuniversalmissing script

The referenced script on this Behaviour (Game Object 'StaticLightingSky') is missing! (HDRP Downgrade)

Hey, I'm encountering a little issue with my project :

I've reticently tried working with the HDRP, but I've realized after the fact that it was a little too much so I've downgraded my project to LWRP. After that, I've upgraded my project to Unity 2019.3 and so, made the transition to URP (which is the old LWRP now available by default if I understood correctly).

But since I've done all of that, I have two exceptions showing in the console every-time I spawn a new camera, which are :

  • The referenced script (Unknown) on this Behaviour is missing!

  • The referenced script on this Behaviour (Game Object 'StaticLightingSky') is missing! I guess those are leftovers from my trials under HDRP (since "StaticLightingSky" are HDRP elements), but I can't find any missing scripts in my objects. It doesn't break the project in any way and I can continue to work and play. But it's annoying, since it take so much space in the console.

So i was wondering if you people have a way to find the faulty objects so I can correct/remove them (or an idea of which objects can be faulty).

Thanks in advance.

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

2 Replies

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

Answer by Nakou · Feb 13, 2020 at 05:17 PM

Okay so I found the issue : It was some Point lights placed during my tests with HDRP but that I had forgot to remove (and that had missing script). Also it seems (still stress testing at the moment) to have fixed random crash I had on editors and standalone (when working on lights and baking) (linked to PROCESSSHADOWCASTERNODEVISIBILITYANDCULLWITHOUTUMBRA in the crash log apparently).

Good to know : if when double clicking a warning/error in the console after stopping the game will do nothing, pausing and clicking will actually send you to the gameobject concerned.

My mistake was that I was always trying to investigate after stopping the game, and not during its execution.

Comment
Add comment · Show 7 · 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 dway97 · Apr 29, 2020 at 09:48 PM 0
Share

I ran into the same problem. Changed my pipeline from HDRP to URP and got the same error. Did you deter$$anonymous$$e if it is safe to attempt to delete something causing this reference bug, or best just leave it be?

avatar image DomeCreator · Oct 06, 2020 at 04:00 PM 2
Share

I'm facing the same issue but the object does not exist in the Hierarchie and in the project. I'm facing a kind of ghost inside the project ... I've no idea on how to correct this ?

alt text

capture.png (103.3 kB)
avatar image GAMEDIA_Justin DomeCreator · Jan 12, 2021 at 01:16 PM 0
Share

I had the same issue. I could remove it by pressing F while hovering over the Hierarchy with the mouse, and then press Delete. $$anonymous$$ake sure you're not in play mode when deleting.

As a side note: double clicking the warning in Console Pro did nothing for me. I had to use the Unity Console.

avatar image TheFishInABowl · Oct 12, 2020 at 07:08 PM 0
Share

Having the same problem as @DomeCreator

avatar image cecarlsen · Oct 19, 2020 at 12:08 PM 0
Share

Same problem. Unity 2019.4.

avatar image Fressbrett cecarlsen · Dec 15, 2020 at 03:08 PM 0
Share

Same problem in Unity 2020.2.0b6.... I even tried out finding my $$anonymous$$issing scripts using the scripts supplied here: http://wiki.unity3d.com/index.php?title=Find$$anonymous$$issingScripts But nothing was found. $$anonymous$$y scene seems to be clear of any missing scripts. Clicking on a warning also does nothing... They only appear on Application start once, afterwards nothing triggers them again.

avatar image Fressbrett Fressbrett · Dec 15, 2020 at 04:54 PM 0
Share

I $$anonymous$$ANAGED TO SOLVE IT. The "Find$$anonymous$$issingScriptsRecusive" script only searched the gameobjects in the scene, but not instantiated Prefabs. One of my prefabs in my scene had missing scripts. Apparently, Unity isn't able to highlight prefabs when clicking on the warning message, nor does the script find them. Somewhat strange behaviour, for now just check the prefabs in your scene for missing scripts manually.

avatar image
1

Answer by krisdaniel1452 · Feb 22, 2021 at 11:21 PM

Solution: ctrl+shift+f in your code editor (rider, vscode etc.) to search globally for StaticLightingSky. You will find a reference in a scene file. Remove these lines of code alt text


staticlightningsky.png (79.6 kB)
Comment
Add comment · 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

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

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

Universal Render Pipeline 2D lights giving null reference exception 7 Answers

Missing depth output in URP shadergraph graph settings 0 Answers

Please help! Bloom doesn't work on android build with URP 1 Answer

Low Fps on URP on Android 0 Answers

Urp and AR foundation material problem on iOS 0 Answers


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