Stuck in infinite 'CodeGen' loop after updating to 2.25.1
Hi!
Don't know what I did wrong, but I just updated to 2.25.1 but the editor has been stuck in a loop on codegeneration ever since. ( rebuilding packobject codegen ?)
There are a bunch of errors like these:
\Third Party Assets\Photon\PhotonUtilities\PackObject\_GeneratedPackExtensions\Pack_TestPackObject.cs(10,15): error CS0101: The namespace 'Photon.Compression.Internal' already contains a definition for 'PackFrame_TestPackObject'
All errors originate from PhotonUtilities/PackObject/CodeGen or similar.
Can't copy paste anything from the console - the editor freezes. Can access the log if necessary.
Anyone experiencing the same? Is there something I am missing?
I am using Unity 2019.4.12f1
-Pieter
Don't know what I did wrong, but I just updated to 2.25.1 but the editor has been stuck in a loop on codegeneration ever since. ( rebuilding packobject codegen ?)
There are a bunch of errors like these:
\Third Party Assets\Photon\PhotonUtilities\PackObject\_GeneratedPackExtensions\Pack_TestPackObject.cs(10,15): error CS0101: The namespace 'Photon.Compression.Internal' already contains a definition for 'PackFrame_TestPackObject'
All errors originate from PhotonUtilities/PackObject/CodeGen or similar.
Can't copy paste anything from the console - the editor freezes. Can access the log if necessary.
Anyone experiencing the same? Is there something I am missing?
I am using Unity 2019.4.12f1
-Pieter
0
Best Answer
-
I changed the PACKABLE_PATH in TypeCatalogue.cs to use my custom folder location.
So far it seems to work.0
Answers
I keep Third party assets in a separate folder to keep our project(s) organized and I feel an asset should never be developed without the possibility to move it..
Updating Photon from/in the default location is fine, but moving it afterwards will - once again- start the infinite codegeneration loop.
Would love to see the options to properly move the full asset to another folder.
-PIeter
So far it seems to work.
Thanks for getting back on this and for the fix.
It's a shame some assets cannot be moved properly to separate folders. It has been a frustration of mine and other developers I have worked with.