
u3d
文章平均质量分 50
管sc
这个作者很懒,什么都没留下…
展开
-
Unity获取CPU占有率
网上很多都是用PerformanceCounter,但是原创 2021-06-11 09:59:22 · 3373 阅读 · 5 评论 -
「bugfix」 Unity 接 穿山甲SDN广告后,启动页显示异常
原因:SDK中AndroidManifest 少了这一行。原创 2020-03-25 10:25:33 · 5150 阅读 · 0 评论 -
「分享」 Unity下Android 下载APK,并安装
1,权限。<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /><uses-permission android:name="android.permission.READ_PHONE_STATE" /><uses-permission android:n...原创 2020-03-20 14:31:38 · 2565 阅读 · 0 评论 -
「分享」UnityWebRequest Texture 内存 无法释放
GC.Collect(); 无法释放Resources.UnloadUnusedAssets();无法释放方案:原创 2020-03-17 13:56:24 · 1662 阅读 · 0 评论 -
「解决」http Charles抓包找不到URL。
不使用UnityWebRequest。使用插件HttpClient。结果用Charles抓包找不到。原因:HttpClient没有走手机默认的代理设置。原创 2020-03-09 21:01:46 · 1615 阅读 · 0 评论 -
unity 老版本 离线下载
unity老版本,BT方式无资源怎么办?用离线下载https://offcloud.com/#/instant原创 2019-11-12 14:20:05 · 1219 阅读 · 0 评论 -
[转]解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题22017.09.26 16:50:22字数 77阅读 52744今天升级macOS High Sierra,终端里使用git的时候,弹出一行莫名其妙的错误:xcrun: error: invalid active developer pa...转载 2019-10-18 15:25:37 · 342 阅读 · 0 评论 -
unity 命令行打包,解决报错:USYM_UPLOAD_AUTH_TOKEN environment variable
Showing All Messagestime="2019-10-08T15:09:24+08:00" level=fatal msg="Please provide an auth token with USYM_UPLOAD_AUTH_TOKEN environment variable"unity2018.4.9f1使用命令行打包解决方案:填写假的USYM_U...原创 2019-10-08 16:24:55 · 2389 阅读 · 0 评论 -
Unity无法打包buildToolsVersion is not specified.
日志:CommandInvokationFailure: Gradle build failed./Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java -classpath "/Applications/Unity/Hub/Editor/2017.4.16f1/PlaybackEngines/An...原创 2019-07-20 15:49:46 · 1719 阅读 · 0 评论 -
[发包报错]Library not found for -lFirebaseCore
unity:2017.4.16f1xcode:10.2.1plugin:Firebase RemoteConfig解决方案:原创 2019-06-27 12:05:46 · 888 阅读 · 0 评论 -
利用adb测试开启APK时常
参考:https://blog.youkuaiyun.com/tengxy_cloud/article/details/53884237使用命令行前提:添加adb到环境变量原创 2018-11-05 14:48:37 · 197 阅读 · 0 评论 -
【Unity3d】【解决BUG思路】get_gameObject can only be called from the main thread
BUG:11-02 14:38:46.703 6555-6934/net.lionbird.google.countryCreatorUS E/Unity: UnityException: get_gameObject can only be called from the main thread. Constructors and field initializers will be...原创 2018-11-02 15:57:51 · 8766 阅读 · 0 评论 -
unity 接 steam,获取steamID ,username
原创 2018-04-03 17:40:12 · 3592 阅读 · 2 评论 -
unity优化的一些建议(代码+文字)
转自http://www.ceeger.com/forum/read.php?tid=20134&fid=7unity优化的一些建议(代码+文字) 578 2其他 2015-01-28 16:31之前我写过一篇关于优化的帖子,最近刚好在蛮.牛.教.育上又看到了一些,拿来分享一下,老规矩,先上代码! 复制代码转载 2016-01-25 21:12:38 · 341 阅读 · 0 评论 -
服务器 winform unity debug 解决方案
用unity实现服务器debug原创 2016-08-31 12:32:00 · 413 阅读 · 0 评论 -
unity ps4 下碰到的坑
以前公司用unity发ps4用IL2CPP发布,自己写的网络会有错误。昨天用mono2.x发布,泛型会可能报错。(unity 5.5.1p2)报错信息16:04:11 * Assertion at C:\buildslave\mono-consoles\build\mono\mono\metadata\reflection.c:6951, condition `idx != -1' n原创 2017-02-21 14:50:42 · 1456 阅读 · 1 评论 -
unity下 除法 乘法效率对比
以前总听前辈说,优化,乘法比除法省效率,今天闲的无聊试一下。测试环境,PC下,cpu i45901,2,3,结论,电脑上,乘法除法基本没什么差别手机上iPhone5s基本上手机上乘法和除法相同,比只赋值费不到哪里去。结论,优化不用刻意将除法给成乘法。原创 2017-02-14 15:59:04 · 1920 阅读 · 0 评论 -
android studio error: Could not find method implementation()
原创 2018-03-22 13:54:25 · 3655 阅读 · 1 评论 -
android studio error:Failed to resolve
原创 2018-03-22 13:56:03 · 533 阅读 · 0 评论 -
Unity编译 Android 报错Unable to list target pla
参考资料:http://blog.youkuaiyun.com/OnafioO/article/details/725482591,下载tools_r25.2.3-windows.zip链接:https://pan.baidu.com/s/1Tl6bwnl1amXMLWe4ltqnUA 密码:bl402,替换tools文件夹原创 2018-03-21 15:07:53 · 316 阅读 · 0 评论 -
UNITY3D 导出Android 报错:The versions of the Android Gradle plugin and Gradle are not compatible
Error:The versionsof the Android Gradle plugin and Gradle are not compatible.Please do one ofthe following:<ul><li>Update your plugin to version 2.4. This willrequire changes to build.grad...原创 2018-03-22 09:07:23 · 2925 阅读 · 0 评论 -
unity log4net
log4.et.confog.xml<?xml version="1.0" encoding="utf-8" ?><log4net> <appender name="Error" type="log4net.Appender.RollingFileAppender"> <lockingModel type="log4ne原创 2018-03-27 14:41:21 · 1910 阅读 · 2 评论 -
object 序列化成字符串 c#
c# utf-8public static string o2s(object o) { using (var stream = new MemoryStream()) { var f = new BinaryFormatter(); f.Serialize(stream, o); var b = ...原创 2018-03-27 17:09:40 · 1121 阅读 · 0 评论 -
Unity3D研究院之监听Project视图结构变化的事件
Unity3D研究院之监听Project视图结构变化的事件 雨松MOMO 【Unity杂文】 围观1848次 4条评论 编辑日期:2015-06-24 字体:大 中 小今天雨松MOMO无意间发现了一个更好的方法来监听Project视图中资源的 创建 删除 移动 保存。把如下脚本放在unity工程中即可,推荐放在Editor目录下。转载 2015-11-13 10:52:01 · 460 阅读 · 0 评论