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

Mesh disappears when you press play #38

Open
Firesceleton33 opened this issue Jan 2, 2022 · 2 comments
Open

Mesh disappears when you press play #38

Firesceleton33 opened this issue Jan 2, 2022 · 2 comments

Comments

@Firesceleton33
Copy link

Hi, when I hit play the mesh for the TerainMesh program just disappears, but in the editing mode(When play hasn't been hit) everything looks great. Most of the time in play mode it doesn't display anything. If anyone has an idea please let me know how to fix this, I have tried a lot of things, but I'm new to game development and not too familiar with coding... especially to c#
Screenshot 2022-01-02 224802
Screenshot 2022-01-02 224828
.

@Delofon
Copy link

Delofon commented May 15, 2022

You use this in a new scene with a new game object. The mesh generating is really involved and complicated, I believe each body has a BodyPlaceholder script and then SolarSystemSpawner manager goes through each object and creates mesh for it. Only then you have a usable mesh in the play mode.

@r0levrai
Copy link

r0levrai commented Sep 6, 2024

For those who use the default Planet scene, see #50

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