HELP PLEASE
I have 999+ error
ERRORS:
No renderer selected for emission! Selected a renderer for this light, or disable emission.
NullReferenceException: Object reference not set to an instance of an object
I use HDRP and Unity 2019.4.13f1
When I build game i have black screen
I looked all over the Internet and found nothing
Who know please help
The answer is always the same… ALWAYS!
How to fix a NullReferenceException error
https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/
Three steps to success:
- Identify what is null ← any other action taken before this step is WASTED TIME
- Identify why it is null
- Fix that
If it’s not your code, ask yourself if you need it and possibly then remove it.
Extra unwanted packages in new projects (collab, testing, rider and other junk):
https://discussions.unity.com/t/846703/2
About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.
Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared:
https://stackoverflow.com/questions/53145919/unity3d-package-cache-errors/69779122