Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Model files rely on specific line endings

A topic by benny1123 created Jul 08, 2020 Views: 124
Viewing posts 1 to 1

Hi,

After commiting a model file to git and pulling down on another computer, the model file will no longer load. After investigation, this was due to git changing the line endings within the .model files.

The way around this issue currently is to add a .gitattributes file to the repository to prevent git from changing the line endings on .model files. Though I don't think this is a critical issue, it would be nice for .model files to work out of the box with version control systems.

Cheers,

Ben