unitysetup.powershell icon indicating copy to clipboard operation
unitysetup.powershell copied to clipboard

Errors using on OSX with PS 6.0.2

Open adamhill opened this issue 6 years ago • 1 comments

OS: Mac OSX High Sierra 10.13.6 PS 6.0.2

Error when running Find: (but does seem to find most of the Project instances on my machine)

` Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

5.3.0f4 /Users/adamhill/projects/ld-growing-asteroid-life/ LD Growing - A... Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token." At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments `

adamhill avatar Aug 10 '19 03:08 adamhill

I have the same error, solved it by setting Asset Serialization Mode set as 'Force Text' in Editor settings under project settings. image (3)

kobechenyang avatar Oct 13 '19 06:10 kobechenyang