Search Feedback

258
votes

The unity editor should not automatically hammer a scene file's "read only" setting.

Editor

-

-

We're using a source control solution that involves locking, editing, unlocking of scene files (think like perforce does, or SVN with locking for those files turned on).

Unfortunately the Unity editor doesn't either warn the user that a scene file is read only, nor does it error out if the user tries to save a read only scene file. It just hammers the read only flag and saves anyway.

It would be nice if Unity obeyed the read only flag on scene files (and really, all assets), so that non-mergeable binary files can have an external locking process applied.

Comments (14)

  1. F5d8df52978a6dace4c0732ad2d104c5?d=mm

    yoyo

    Sep 06, 2013 18:09

    Note that it is possible to implement an AssetModificationProcessor that uses the OnWillSaveAssets callback to check for the read-only flag on a file that is about to be saved, pops up a dialog if the file is read-only, and gives the user the option of saving or cancelling.

  2. D31a398a37632f4923220a08c826edc9?d=mm

    HenrikC

    Aug 16, 2013 12:20

    This is our biggest problem at the moment. Please fix this; a simple setting in the Editor would suffice.

  3. D31a398a37632f4923220a08c826edc9?d=mm

    HenrikC

    Aug 16, 2013 12:20

    This is our biggest problem at the moment. Please fix this; a simple setting in the Editor would suffice.

  4. D31a398a37632f4923220a08c826edc9?d=mm

    HenrikC

    Aug 16, 2013 12:20

    This is our biggest problem at the moment. Please fix this; a simple setting in the Editor would suffice.

  5. 9ac9ec63058594afb826fc51169453ca?d=mm

    alejandrogt

    May 17, 2013 06:28

    Respecting the read-only flag is critical.

  6. 6d097c94cf379d0bb57d9ffc07fb8aaf?d=mm

    phop

    Mar 27, 2013 06:47

    A massive flaw that must be fixed, especially for people who pay for the Pro version.

  7. 77c44bb5892da16b3a1a6f5c1118f558?d=mm

    Citizen #39456

    Jan 24, 2013 10:55

    IMO, if Unity wants to have future with bigger-serious project, it is a must that it supports teamwork. Without respecting reaadonly flag, no serious teamwork can be done.

  8. 3f831df11f98ceaaeed8287e63691504?d=mm

    JamieFristrom

    Jan 22, 2013 01:55

    Yes, AssetModificationProcessor is what I want!

    Please consider my votes as votes to make AssetModificationProcessor.IsOpenForEdit available in Unity Pro or, better yet, Unity Free.

  9. 3f831df11f98ceaaeed8287e63691504?d=mm

    JamieFristrom

    Jan 07, 2013 22:28

    The read-only flag is how I've made sure team members don't bash each other's changes ever since we first used SourceSafe with Die By The Sword at Treyarch in 1999. Unity is the first tool I've used that doesn't seem to respect the flag. I realize it's not as simple as simply checking the flag and not allowing modifications - you'd need to do some UI work as well to inform the user why their scenes are unmodifiable. I don't just want this feature with scenes, btw, but with all Unity assets - prefabs, etc.

  10. F5d8df52978a6dace4c0732ad2d104c5?d=mm

    yoyo

    Sep 12, 2012 18:45

    Note that an AssetModificationProcessor would allow us to implement this ourselves, unfortunately, as of Unity 3.5.5, that API isn't available unless you have the Team / Asset Server license.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9241)

2D

(233)

Ads

(42)

AI & Navigation

(70)

Analytics

(103)

Animation

(318)

Asset Store

(234)

Assets

(493)

Audio

(158)

Cloud Build

(98)

Collaborate

(33)

Docs & Tutorials

(202)

Editor

(2136)

Everyplay

(13)

Game Performance Reporting

(15)

General

(825)

Graphics

(783)

GUI

(371)

Input

(147)

Licensing

(76)

Networking

(163)

Physics

(346)

Platforms

(407)

Profiling & Optimization

(71)

Runtime

(164)

Scripting

(1030)

Terrain

(151)

WebGL

(132)