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

NRE when validating without Terrain Tools #29

Open
Insprill opened this issue Sep 28, 2023 · 2 comments
Open

NRE when validating without Terrain Tools #29

Insprill opened this issue Sep 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Insprill
Copy link
Owner

NullReferenceException: Object reference not set to an instance of an object
MapifyEditor.Export.Validators.TerrainSceneValidator+<>c.<Validate>b__0_1 (UnityEngine.Component comp) (at <6c995e8150fa4940ac631d120153741d>:0)
System.Linq.Enumerable+WhereArrayIterator`1[TSource].ToArray () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
MapifyEditor.Export.Validators.TerrainSceneValidator+<Validate>d__0.MoveNext () (at <6c995e8150fa4940ac631d120153741d>:0)
Mapify.Editor.Utils.Extensions.ToList[T] (System.Collections.Generic.IEnumerator`1[T] e) (at <6c995e8150fa4940ac631d120153741d>:0)
Mapify.Editor.Validators.Validator+<Validate>d__3.MoveNext () (at <6c995e8150fa4940ac631d120153741d>:0)
UnityEngine.Debug:LogException(Exception)
Mapify.Editor.Validators.<Validate>d__3:MoveNext()
Mapify.Editor.Utils.Extensions:ToList(IEnumerator`1)
Mapify.Editor.MapValidationGui:OpenAndValidate()
Mapify.Editor.MapValidationGui:OpenAndValidate(MenuCommand)
@Insprill Insprill added the bug Something isn't working label Sep 28, 2023
@Insprill Insprill moved this to Todo in DV Mapify Sep 28, 2023
@t0stiman
Copy link
Collaborator

What is the desired behaviour when Terrain Tools isn't installed?

a. A message telling the user to install Terrain Tools
b. To skip this validation without error
c. Something else?

@Insprill
Copy link
Owner Author

It should work as normal without it installed. It's only a recommendation, not a requirement.

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
Status: Todo
Development

No branches or pull requests

2 participants