Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
CCB changes not saving properly [BUG]

veganpete
Registered User
Quote
2021-10-12 11:46:31


[MAJOR BUG]
Whenever I open a coppercube project file, I find that the most recent changes have not been saved.

I continually find that coppercube hasn't saved my work properly (even my backups don't save properly) - so I'm continually losing work and having to re-do it all (over and over) until it successfully saves/loads.

This has happened to all my coppercube projects so far - it's probably happening to other people without them even realising.

@Niko, please investigate this bug (see my latest comment for useful info).

Thank you.


veganpete
Registered User
Quote
2021-10-19 17:00:30

My guess is that the error must be something to do with either:

1- probably: a non-elevated users "permission" conflict.
2- possibly: due to coppercube/windows trying to overwrite a file that's already open/in use (in the coppercube editor).
3- unlikely: antivirus/sandbox blocking coppercube files.

Same thing happens when testing/publishing a file - sometimes coppercube will publish an older version of the file - instead of the one that's currently open in the coppercube editor.


veganpete
Registered User
Quote
2021-10-21 08:44:06

Here's a video so you can see what's happening when it doesn;t save properly.....
https://drive.google.com/file/d/...

Here's my system specs....
🔎︎



veganpete
Registered User
Quote
2021-10-21 09:19:12

"Windows 10" workaround for this BUG....

You MUST always run Coppercube as Admin , then load your project through the file menu.

DO NOT open Coppercube (or any coppercube project.ccb files) by double-clicking them - this will result in a "restricted" session being opened - which prevents any changes being saved/loaded properly (see video below)....

Video of workaround fix....
https://drive.google.com/file/d/...

Hopefully this can be fixed properly in a future version of CCB - running user-scripts "as admin" is a potential security risk.

*You can set Coppercube to "Run As Admin" so you don't ever accidentally forget.

🔎︎



sven
Registered User
Quote
2021-10-22 22:27:32

This error can be a real pain and needs to be fixed.

I tryed it out myself with your project-file Homing Missile.ccb and i got same result.

For me there is sometimes errors when i attach script and i set scenenode to it (in properties).. and if i navigate away from properties settings then it will clear properties that i just set.
(and i get error and i need to figure out where is that error-and that takes time)

I dont remember that i had this kind of problems 6 months ago.


just_in_case
Moderator
Quote
2021-10-23 06:06:47

yeah, if you use an administrator account then there will be no such problem arises. It can be a real pain when you do such things, and that's not only with CC other programs may also fail when you save some changes but most of the programs will warn or ask you to switch to administration mode for that app to save the changes.

maybe CC should also throw the confirmation box or alert that the app is not running as administrator so the changes will not be saved.


VP
Guest
Quote
2021-10-26 02:09:55

Thank you both! No problem at all now I know. I'll just remember to run as admin.


ngame
Registered User
Quote
2021-11-05 16:29:22

!MAJOR BUG!


If you put the computer into sleep mode, but you have a opened Copper Cube project, then, firstly, there is a chance that an error will occur in the project, secondly, there is a chance that the project will close, and thirdly, a memory leak may occur!

I recently left the project open and put my laptop to sleep. The next time the laptop was turned on, the screen did not show anything and the laptop began to beep loudly (this signals the BIOS about errors and breakdowns). On a signal, I determined that it was a memory leak.

What do I recommend to you? It is not advisable to put the computer to sleep with an open project. And @Niko, pay attention to this, as there is such a bug in C ++.


niko
Moderator
Quote
2021-11-08 07:32:39

What Anti Virus software are you guys running? (Asking because in a lot of cases, broken AV software is causing problems like these)


ngame
Registered User
Quote
2021-11-08 07:55:17

I use Kaspersky antivirus


niko
Moderator
Quote
2021-11-08 07:57:46

Try running for some time without it and see if this fixes the problem. It is very likely causing this.

Development software doesn't mix well with AV software. The only one which works well for this is Microsoft's Defender.


VP
Guest
Quote
2021-11-08 11:26:16

Thanks Niko. I'm not running any AV software, other than defender(Win10).


niko
Moderator
Quote
2021-11-09 07:33:51

I tried to reproduce the issue, but I wasn't able to yet. Sven wrote that he can reproduce this with your project file, Homing Missile.ccb, where can I download that?


VP
Guest
Quote
2021-11-09 14:55:57

wrote:
I tried to reproduce the issue, but I wasn't able to yet. Sven wrote that he can reproduce this with your project file, Homing Missile.ccb, where can I download that?


Thanks for looking into it Niko. I'm not sure but I think it's probably this link that Sven mentioned...https://www.ambiera.com/forum.ph...

As I say: if I run coppercube as admin, then open the Project from "file" option, it works perfectly. If I double-click to opena project, the changes are not saved.

This has been happening for me for a long time (years), I just never noticed the bug before. (I had always assumed I'd forgotten to save my project before closing it. lol. Was always frustrating the next day to see that my project had reverted to a much earlier state. lol.)

Thank you.


niko
Moderator
Quote
2021-11-23 09:06:08

Update: I found the problem. It wasn't that CopperCube wasn't saving anything, but that your game scripts (and behaviours) were executed when you opened the file by double-clicking it, modifying your scene. This problem might have caused some weird other side effects as well.

This bug will be fixed in the upcoming update (will still take a few days). Sorry for the inconvenience :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact