CesiumGS / CesiumGS/cesium-unity

Unity 2021.3.17f1 spams line ending warnings when loading the built Cesium for Unity

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
quality
Dominant language
C#
Stars
535
Forks
132
Avg merge
6h 45m
Merged PRs (30d)
1

Description

For example:

```
There are inconsistent line endings in the 'Packages/com.cesium.unity/Editor/generated/Reinterop/Reinterop.RoslynSourceGenerator/CesiumIonSession-generated.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.
```

This happens because we generate code on different platforms, and then smash them together with ifdefs. We should normalize the line endings as part of the build process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.