Search Unity

Bug Unity Game is not loading!

Discussion in 'Editor & General Support' started by Don_Goldi, Nov 17, 2022.

  1. Don_Goldi

    Don_Goldi

    Joined:
    Jan 7, 2022
    Posts:
    19
    Anyone know how I can get this fixed?

    Unfortunately I really have no idea what to do next...

    Thanks for every answer!




    Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\BaseShaderGUI.cs(212,34): error CS0103: The name 'MaterialAccess' does not exist in the current context

    Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGraph\Targets\BuiltInSubTarget.cs(33,28): error CS0246: The type or namespace name 'BuiltInShaderGraphSaveContext' could not be found (are you missing a using directive or an assembly reference?)
     
  2. Mistrkladiva

    Mistrkladiva

    Joined:
    Oct 26, 2021
    Posts:
    2
    Hi, I have the same problem when upgrading from URP 2021.3.1f1 to 2022.1.21f1 .. Is there any solution?
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,744
    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
     
  4. Mistrkladiva

    Mistrkladiva

    Joined:
    Oct 26, 2021
    Posts:
    2
    Thanks for the quick response, before I had time to read it, I did the following:
    - I installed Unity 2022.2
    - I opened the project only with Assets
    - I installed the necessary packages including UniversalRP
    - I created UniversalPipeline2d in the project and implemented in Graphics
    - I copied to ProjectSettings -> TagManager.asset
    - fixed minor errors in conversion

    Everything seems to be working...