2021年7月

接网易SDK

学习Linux

优化项目资源

 

 

 

 

 

Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=1450MB, unused=0x0)

 

 

 

 

 

 

 

 

 

游戏设计师的书单 (douban.com)

 

 

世界创建指南
博物学家的神秘动物图鉴
超自然变形动物图鉴
探险家的传奇植物标本簿
两栖爬行动物的神话与传说
与废墟为伴 : 真实的考古学家与来自遗迹的诱惑
东方草木之美 : 绽放在西方的73种亚洲植物
海怪 : 中世纪与文艺复兴时期地图中的海洋异兽
天体写真 : 高清天文摄影之美
世界最美飞鸟
发现珍稀宝石与矿物

 

2021.7.23

安卓常规分辨率分布

2340 * 1080    38  2.166
2400 * 1080    22  2.222
2280 * 1080    7   2.111
1920 * 1080    6   1.777
1520 * 720      6  2.111
1280 * 720      5  1.777
2310 * 1080    4   2.138
2244 * 1080    3   2.077
2160 * 1080    3   2.000
1600 * 720      3  2.222
1560 * 720      2  2.166
2376 * 1080    2   2.200
3200 * 1440    2   2.222
1544 * 720      2  2.144
2316 * 1080    2   2.144
2312 * 1080    1   2.140
2676 * 1236    1   2.165
2640 * 1200    1   2.200
2240 * 1080    1   2.074
2560 * 1440    1   1.777
3120 * 1440    1   2.166
2256 * 1080    1   2.088
3216 * 1440    1   2.233
3040 * 1440    1   2.111
2400 * 1176    1   2.040
2480 * 2200    1   1.127(暂不考虑)
1440 * 720      1  2.000
2248 * 1080    1   2.081
2772 * 1344    1   2.062

 

安卓常规系统版本分布

HarmonyOS 2.0    5
Android 9             23
Android 8.1          12
Android 8.0          2
Android 7.1          4
Android 6.0          4
Android 5.1          3
Android 12 DP1    1
Android 11           7
Android 10           60

 

 

 

 

常规分辨率比例

16 : 9  1.777

18 : 9  2.000

21 : 9  2.333

 

 

 

 

2021-7-28

某些情况下, 打ab包时因为 missing prefab 造成的闪退

在重新生成 Library 前通过代码并不能找到 对应的 missing prefab(原因未知), 要么靠人工排查(找到对应的 包含 Missing Prefab 的 Prefab, 删除对应的 metadata, 重新生成)

要么重新生成 Library, 再通过同样的代码查找是可以找到的(可能时间更快,如果电脑足够好的话)

    public static void FindCrashMissingPrefabs()
    {
        string[] allassetpaths = AssetDatabase.GetAllAssetPaths();
        EditorUtility.DisplayProgressBar("Bundle Crash Find", "Finding...", 0f);
        int len = allassetpaths.Length;
        int index = 0;
        foreach (var filePath in allassetpaths)
        {
            EditorUtility.DisplayProgressBar("Bundle Crash Find", filePath, (index + 0f) / (len + 0f));
            if (filePath.EndsWith(".prefab"))
            {
                GameObject fileObj = PrefabUtility.LoadPrefabContents(filePath);
                if (fileObj)
                {
                    Component[] cps = fileObj.GetComponentsInChildren<Component>(true);
                    foreach (var cp in cps)
                    {
                        if (cp)
                        {
                            PrefabInstanceStatus _type = PrefabUtility.GetPrefabInstanceStatus(cp.gameObject);
                            if (_type == PrefabInstanceStatus.MissingAsset)
                            {
                                //string nodePath = PsdToUguiEx.CopyLuJin(null)+"/"+ fileObj.name;
                                Debug.LogError("Crash Bundle Missing Prefab:Path=" + filePath + " Name:" + fileObj.name + " ComponentName:" + cp);
                            }
                        }
                    }
                }
                PrefabUtility.UnloadPrefabContents(fileObj);
            }
            index++;
        }
        EditorUtility.ClearProgressBar();
    }
FindCrashMissingPrefabs 暂时可行

 

 

 

2021-7-30

Unity ScrollView特效裁切最佳方法_夜^/_\^羽的博客-CSDN博客

 

posted on 2021-07-01 12:54  void87  阅读(217)  评论(0编辑  收藏  举报

导航