Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

What is the path lenght for 2.17 version of Collobrate

Discussion in 'Unity Collaborate' started by alexrau, Jul 3, 2019.

  1. alexrau

    alexrau

    Joined:
    Mar 1, 2015
    Posts:
    48
    Was wondering what the max path length for collobrate is after getting this message?
    Do not experience this issue with the earlier version of collobrate.

    CollabProxyException: invalid path '\\?\C:\Users\alexr\Documents\those who know - game\Assets\NatureManufacture Assets\Meadow Environment Dynamic Nature\Demo Scenes\_TerrainAutoUpgrade\layer_T_forest_ground_grass_01_A_SMT_forest_ground_grass_01_N(4.000,4.000)(0.000,0.000)(0.000,0.000,0.000),0.000,0.000.terrainlayer' (path too long)
     
  2. bradunity

    bradunity

    Unity Technologies

    Joined:
    Nov 12, 2013
    Posts:
    98
    @alexrau sorry to hear you ran into this issue. Collab doesn't have any path length, per se, however, we've found when running on some Windows machines this occurs due to a Microsoft choice to preserve a 260 character limit when using the Windows API as documented here: https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file#maximum-path-length-limitation

    As noted in the above link under a green "Tip" section, you can opt-in to the new behaviour and extend the limit by enabling the "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled" registry key.
     
    ollieblanks likes this.