Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLOD setup problem #63

Closed
JohnnyDrive1 opened this issue Jan 22, 2020 · 12 comments
Closed

AutoLOD setup problem #63

JohnnyDrive1 opened this issue Jan 22, 2020 · 12 comments

Comments

@JohnnyDrive1
Copy link

Hi!
I try to test AutoLOD.
But unfortunately when I create Unity project and then use "git lfs clone --recursive https://github.com/Unity-Technologies/AutoLOD", I got next errors

Could you help me, please? What should I do?

@JohnnyDrive1
Copy link
Author

image

@JohnnyDrive1
Copy link
Author

image
This is how Preferences/AutoLOD window looks like

@amirebrahimi
Copy link
Contributor

It looks like your pull did not include submodules. Can you try a fresh pull and let me know if you see any errors? You should have files in the AutoLOD/Packages/UnityMeshSimplifier folder.

@JohnnyDrive1
Copy link
Author

amirebrahimi, hi!
I repeated everything from scratch. And I got this problem again.
Here are my steps in details:

  1. I create new Unity project (I am not using Git for this. It is just new Unity project)
  2. I am launching CMD and moving to Assets folder of this project via console commands
  3. When I am at Assets folder of this project I am launching next command: "git lfs clone --recursive https://github.com/Unity-Technologies/AutoLOD"
    The process is going well!
  4. But then I am trying to launch "git submodule update" and I got an error:
    "fatal: not a git repository (or any of the parent directories): .git"

image

@JohnnyDrive1
Copy link
Author

I tried to move to AutoLOD folder and repeat "git submodule update" command, and there were no errors.
But in Unity there are the same problems.

ps. I tried to restart Unity, it did not help

@JohnnyDrive1
Copy link
Author

image

@JohnnyDrive1
Copy link
Author

And yes, AutoLOD/Packages/UnityMeshSimplifier folder is not empty.
But because of Preferences/AutoLOD does not work, I can not configure it

Could you say me, please, is there any other options to get AutoLOD with UnityMeshSimplifier?
I want to test it very much=)
image

@FeldNico
Copy link

What I've done was changing s_Batcher to batchers in line 681 and 685 in AutoLOD.cs

@JohnnyDrive1
Copy link
Author

What I've done was changing s_Batcher to batchers in line 681 and 685 in AutoLOD.cs

FeldNico, OH MY GOD!
Thank you sooooo much!
You are great!
image

@JohnnyDrive1
Copy link
Author

amirebrahimi and FeldNico, right now I am testing AutoLOD.
If everything will be OK, I will close this thread in the nearest time.
If not - I will ask new question

@JohnnyDrive1
Copy link
Author

Well, I think I will create separated thread, because new issue is not connected with Setup, it is connected with User Experience.
Description of the problem: when I use AutoLOD sometimes Unity stops responding. And only first top line of Commands is working (this is the reason, why I can Save my scene safely and safely quit from application)
image

@JohnnyDrive1
Copy link
Author

JohnnyDrive1 commented Jan 24, 2020

#64
Here is description of the new problem.
amirebrahimi and FeldNico, thank you for your help with solving of current problem!

dogfuntom added a commit to dogfuntom/AutoLOD that referenced this issue Feb 7, 2020
* Fix HLOD update when deleting all scene objects; Clean up code/logging; Update submodule

* Add SceneLOD tutorial video link

* Fix initialization associated with Unity-Technologies#63

* Update README.md

* Help with first time initialization

Co-authored-by: Amir Ebrahimi <github@aebrahimi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants