javier.serrano Posted August 1, 2018 Share Posted August 1, 2018 (edited) Hi, we are facing a small issue with Git and .runtimes/ files. Our programmers make mock assets in order to implement application logic. Then they commit these assets to repository and designers only need to pull them and replace that files. When our designers pull the content and update the asset files (.png, .fbx...) they cannot see the changes because editor does not detect that files have changed and runtime files are not reimported, so we have to manually select them and press 'reimport'. Then, when designers push the updated files, our programmers cannot see the changes and must reimport them manually again. It happens with all files that are commited, pulled, replaced by another one with same name and pushed. When the amount of files pulled is big, is hard to search them in asset browser without skipping some of them. Is this an expected behaviour? Maybe we are doing something wrong... Regards, Javier Edited August 1, 2018 by javier.serrano Link to comment
silent Posted August 2, 2018 Share Posted August 2, 2018 Hi Javier, Editor should process files if: mtime (modification time) is changed OR size is changed Could you please check if they are actually different? If I understand you correctly, your pipeline currently is: User1 and User 2 opens Editor2 and work with it; After 5 minutes of work files 1.png and 2.png are modified (Editor2 is working in background) User1 pushing changes (Editor2 is working in background): 1.png 2.png 1.meta 2.meta User2 pulling changes from GIT (Editor2 is working in background); Expected behavior: Modified files will be automatically updated Actual behavior: Nothing changes Is that correct? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
vvvaseckiy Posted August 3, 2018 Share Posted August 3, 2018 Hello Javier, Please also note that .runtimes folder gets validated and updated only on start of Editor2, so if you pull only .meta file or both .meta & .runtimes without changing source asset, the will be no reimport until restarting the editor. Correct workflow for that case is to close Editor 2 then pull then start Editor 2. If you change the source asset you can pull without closing the Editor2, all the changes should update properly Thanks Link to comment
javier.serrano Posted August 20, 2018 Author Share Posted August 20, 2018 Thnaks, we will follow that workflow and give you feedback asap. Regards Link to comment
Recommended Posts