Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug HELP! No renderer selected for emission! Selected a renderer for this light, or disable emission.

Discussion in 'Editor & General Support' started by Spletter464, Sep 26, 2023.

  1. Spletter464

    Spletter464

    Joined:
    Mar 29, 2022
    Posts:
    1
    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
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,235
    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://forum.unity.com/threads/temp-unityengine-testrunner-dll-error.1133938/#post-7287748

    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