GPUResidentBatcher.SpeedTree.cs(92,69) - Upgrading from 6.3 to 6.4

Console error:
Packages\com.unity.render-pipelines.core\Runtime\GPUDriven\GPUResidentBatcher.SpeedTree.cs(92,69): error CS1503: Argument 1: cannot convert from ‘Unity.Collections.NativeArray’ to ‘System.ReadOnlySpan<UnityEngine.EntityId>’

No idea where or why this is suddenly a issue, however i place to just comment out that line, as I am not using Speedtree in this project.

GPUResidentBatcher.SpeedTree

I did try, restarting, and review if the code would reweal which script is calling this, but there is abselutely no info in the console except from what is above here.

Looking more into this, it appears that in GPUResisdent…

Line 92: SpeedTreeWindManager.UpdateWindAndWriteBufferWindParams(treeRendererIDs, windParams, history);

the treeRendererIDs is not compatible with the new
public unsafe static void UpdateWindAndWriteBufferWindParams(ReadOnlySpan renderersID, SpeedTreeWindParamsBufferIterator windParams, bool history)

ReadOnlySpan…<-----------

Somehow i have a mimatch of URP installed based, how that is possible i have no idea,
pakage manager says version 17.3.0 and is marked [Custom]

I wonder why it’s Custom after 6.4 in 6.3 it was not.

I wonder if it’s safe to remove it, and reinport it? hehe

Solved it..

  1. close all unity and coding IDE’s.
  2. In /Packages/ Deleted everything except the manifest.json (also deleted the packages-lock.json
  3. Open manifest.json changed the SRP and URP version to 17.4.0 instead of 17.3.0 as it said.
  4. in /Library/ deleted Bee
  5. in /Library/ deleted PackageCache
  6. Spit on my computer
  7. Kicked the computer for good measure
  8. Started unity, selected the project, Ignore safemode and boot normal
  9. wait for rebuild

works.. ALL good now.

Somehow these packages stuck in the /packages/ never got removed, and it was stuck there,
and the only 3rd party assets i have in the project, is the unity urp character controller from jan 2025
and some synty assets.

So it is really strange.