Luty
Luty
Try this ``` private static string FolderIconName() { #if UNITY_2018_3_OR_NEWER return UnityEditor.Experimental.EditorResources.iconsPath; #else if (Invoke_folderIconName == null) { Assembly asm = Assembly.GetAssembly(typeof(Editor)); PropertyInfo prop = asm.GetType("UnityEditorInternal.EditorResourcesUtility").GetProperty("folderIconName", (BindingFlags.Static | BindingFlags.Public)); MethodInfo...
This work for me in URP: 1. Use `RenderPipelineManager.beginCameraRendering` as the alternative of `OnPreCull` as it doesn't support SRP. ``` void Awake() { portals = FindObjectsOfType(); mainCam = GetComponent(); RenderPipelineManager.beginCameraRendering...