Skip to content

Commit

Permalink
Update ReadyPlayerMe sample readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bnco-dev committed May 2, 2024
1 parent 5e8b85a commit d55de47
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Unity/Assets/Ubiq/Samples/Avatars (ReadyPlayerMe)/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ Avatar loading is done at runtime by the `UbiqReadyPlayerMeAvatarLoader` script

## Help! I'm seeing error CS0234

This version of the ReadyPlayerMe package manages its dependencies in code. If there are compilation errors at the time it is imported, it'll never run this import code and won't correctly install its dependencies. Here's the fix:
The ReadyPlayerMe packages used in this sample depend on one another. If something goes wrong during installation, one or more of these dependencies might be missing. The ReadyPlayerMe packages do not use preprocessor guards to prevent compilation in this case, so missing packages cause compilation errors. Your project then gets stuck in a state where dependencies are needed but the code which would import them cannot be compiled. Here's the fix:

1. Delete this sample from your project folder
2. In the package manager, remove the `Ready Player Me Core` package
3. Ensure you have no compilation errors in your project
4. Import this sample again
1. In the package manager, remove the `Ready Player Me Core (Ubiq Fork)` package and the `Ready Player Me Avatar Loader` package
2. Ensure you have no other compilation errors in your project
3. When your project is compiling without errors, the missing packages will be detected and re-imported

0 comments on commit d55de47

Please sign in to comment.