Loss of Templates after updating to 0.46.21-beta

What’s The Bug?

After the 0.46.21-beta update, some Templates have disappeared. Happened on some Types only (both system and custom).

For example, my Page type had 4 templates and now only 1 is shown.

How To Reproduce It

  • Update to 0.46.21-beta.
  • Check your templates in queries/collections (from drop down button next to the New button) and under space settings → object types.
  • Observe that in some cases not all templates are present.

The Expected Behavior

All templates should be displayed.

Additional Context

On Android v0.37.20 all templates are present.

Device

PC

OS

Fedora 41

Anytype Version

0.46.21-beta

Network Mode

AnySync

Technical Information

OS version: linux x64 6.13.12-200.fc41.x86_64
App version: 0.46.21-beta
Build number: build on 2025-05-09 13:52:57 +0000 UTC at #484511e5a6f995ad13d53ae347fa5f60575229af
Library version: v0.41.0-rc3
Anytype Identity: A7kLNo65RFUGs8dZab3DBxrHYDJ6FrszGdSzks9GYXgfiqLc
Analytics ID: ABCxkJgcj9adfaQyFuWM8m9oQpDWV7fa9GSdAeWM1fFf18VZ
Device ID: 12D3KooWPT1WmYsZKP5bFV933NYUmzjQLDnrS8wHyCkyC2xp46v1
Ethereum Address: 0xe1716Ca928159bA1686D569D5d64ac615AF2893a

This report has been added to our issue tracker and received by the Development Team.

Hello @boots !
If templates are shown up on Android, then they still are presented in your space. It is some local problem on desktop client.
Maybe they have been marked as archived somehow? Can you please check Bin on both clients and pages of Template type. Do you see lost templates there?

Btw does the situation reproduce on app restart and did you try to update to latest version?

Hello @kirillston

I checked the Bin and it’s empty on both desktop and Android, so I don’t think the missing templates are archived.

As you suggested, I also checked Object Types → Templates and I can confirm that all templates are there, both on desktop and on Android.

The issue is still there after restarting the app.

Also, the issue is still present on v0.46.30-alpha.

It looks like templates faced the same problem as queries in Some Queries are reset after updating to 0.46.21-beta

As templates are accessible on desktop, could you please provide us with debug info of one of ‘broken’ templates, the same you did for query?

Certainly. Here it is:

at.dbg.{bafyreibhlzgaycmzmheaknyo2sp6bwrsxsqgugh5sltj5n5ehrdwdtlmnu bafyreiedjuaxk3rtmtfxduzdnueyr7ze3xuupilhrpsbftahal3m22jpda.2pp341uqdixk6}.20250523.215634.79.zip (15.3 KB)

Hello @boots !
The same problem with type ids. Please try to update to v0.46.8

Hello again @kirillston ! In the case of templates, unfortunately the issue is still there on 0.46.8.

I noticed that going to Object types → Templates and opening the missing templates from there fixes the issue though.

If I’m the only one with this issue, I can just fix them manually like this. Let me know. Thanks!

Yeah, manual openning helped to reindex broken templates. We have a mechanism to do forced reindex, but we did not use it in this fix to not affect other users. Sorry, I forgot to mention that

No problem. Ok, so I’ll reindex the templates by opening them one by one. Thanks for your help! :+1:

This issue has been fixed by the Development Team and will be implemented in an upcoming release.