简体   繁体   English

Unity World 未显示在 GitHub 上

[英]Unity World Not Showing on GitHub

I am new to development on Unity.我是 Unity 开发的新手。 My teammate and I are collaborating on a 3D project and we are using GitHub.我和我的队友正在合作一个 3D 项目,我们正在使用 GitHub。 He mentioned to me that he is unable to view my world creation from his side when he pulled.他向我提到,当他拉动时,他无法从他的身边观看我的世界创造。

Could someone please assist?有人可以帮忙吗? Thank you.谢谢你。

Here is my .gitignore file:这是我的 .gitignore 文件:

# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
[Ll]ogs/
[Uu]ser[Ss]ettings/

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/

# Recordings can get excessive in size
/[Rr]ecordings/

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.aab
*.unitypackage
*.app

# Crashlytics generated file
crashlytics-build.properties

# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*

.DS_Store

Should I delete any of the lines within my .gitignore file?我应该删除 .gitignore 文件中的任何行吗? Which files would be linked to 3D world creation?哪些文件将链接到 3D 世界创建?

Go into your Assets folder and look for a white file with a thick black border and select that.进入您的 Assets 文件夹并查找带有黑色粗边框的白色文件并选择它。 This will open up your scene.这将打开你的场景。 You must manually place in your terrain data and then replace missing terrain textures within each layer.您必须手动放置地形数据,然后在每个图层中替换缺失的地形纹理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM