Hi,
We are moving our packages from Package Manager to Dll’s in project.
However when we do this step, the FileID of the script is changed in comparision to the same in Package manager and we have to change from all game assets the missing script by changing the FileID manually.
Is there another way to change the package manager packages to DLL without losing all scripts tied to our prefabs and scenes?
Just to clarify, were the DLLs previously scripts and asmdefs in your package? If so, then the GUID and FileID changes are normal: each object in a scripts has a unique GUID (for the asset file) and fileID (to identify it in the file, if there are multiple assets in the same file). When compiling the scripts into a DLL, there’s no metadata anymore, but the objects still have a GUID and FileID - the GUID is randomly generated for the DLL when it’s first imported, and the FileID of a specific type is derived deterministically by computing its value from the type namespace and name.
This behaviour is not related to the Package Manager at all. You would observe the same behaviour is you decided to move a script from Assets to a precompiled DLL. You could write a script to convert references from one to the other, but I understand that this is hassle in any case. Unfortunately, that’s just how it works. Maybe you could get suggestions or code snippets to help you automate this change by asking in the Scripting forum.