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

C# Beginner Tutorial Build Errors #1652

Closed
ghost opened this issue Apr 25, 2023 · 4 comments
Closed

C# Beginner Tutorial Build Errors #1652

ghost opened this issue Apr 25, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 25, 2023

Release Type: Official Release/GitHub (please choose appropriate option)
Official
Version: Version number and/or git branch
4.1.0.1822
Platform(s): Does the problem occur on Windows, Android...?
First run with Stride, built for, and on, Windows.
Describe the bug
A clear and concise description of what the bug is.
When building the tutorial project, two (2) errors are printed. Code/InstantiatingPrefabsDemo.cs (line 27) and Code/LoadingContentDemo.cs (line 71) "failed to convert string to Vector3" and "failed to convert Vector3 to string" for both files. New Entity(string, Vector3) needs to have parameters swapped as they are in Entity(Vector3, string) order. Easy enough to do before building but would like to have it made known for future builds.
To Reproduce
Steps to reproduce the behavior:

  1. Start new CSharpBeginner Project.
  2. Click Run.
  3. Check output.

Expected behavior
A clear and concise description of what you expected to happen.
Should build normally, throws conversion errors instead.

Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

Additional context
Add any other context about the problem here.

@ghost ghost added the bug Something isn't working label Apr 25, 2023
@Doprez
Copy link
Contributor

Doprez commented Sep 16, 2023

Sadly I am way to late to this but the current fix is in the below issue comment.

detailed fix

@Eideren @xen2 if we could figure out the Samples not being built it should fix this issue. The PR to fix the samples was merged long ago but for some reason the templates are not updating.

@Eideren
Copy link
Collaborator

Eideren commented Sep 16, 2023

@Doprez Sorry, didn't see this issue, it has been fixed in latest release, make sure your version is up to date, you'll also have to recreate the template

@Eideren Eideren closed this as completed Sep 16, 2023
@Doprez
Copy link
Contributor

Doprez commented Sep 16, 2023

@Doprez Sorry, didn't see this issue, it has been fixed in latest release, make sure your version is up to date, you'll also have to recreate the template

You are a hero! can you also close 1650?
and maybe 1612 but it may be a bit different.

@Eideren
Copy link
Collaborator

Eideren commented Sep 16, 2023

Xen2 did most of the work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants